본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)25k · #10108

nocobase-app-installer

하는 일

이 스킬은 이미 빌드된 NocoBase 3 애플리케이션을 app-installer 도구로 설치합니다. 로컬 컴퓨터나 SSH를 통해 설치하며, 운영 환경에서 NocoBase를 실행하고 업그레이드하거나 롤백해야 하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓빌드된 NocoBase 3 앱을 운영 서버에 배포하고 싶을 때.
  • ✓기존 NocoBase 설치를 업그레이드하거나 롤백해야 할 때.
  • ✓NocoBase 설치가 올바르게 실행 중인지 확인해야 할 때.

스킬 링크

https://github.com/nocobase/nocobase/blob/v3-develop/skills/nocobase-app-installer/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nocobase/nocobase/blob/v3-develop/skills/nocobase-app-installer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“빌드된 NocoBase 아카이브를 제 오프라인 Linux 서버에 설치하고, 정상적으로 시작되는지 확인해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 배포 아카이브로 설치 프로그램을 실행합니다. 각 릴리스는 따로 설치되며, 설정, 저장소, 백업은 업그레이드 사이에도 유지됩니다. 그다음 결과를 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Install and run NocoBase 3 with app-installer

This Skill installs NocoBase that is already built — nothing on the machine is developed, only run. @nocobase/app-installer puts each release under releases/<version>_<build time>/app and runs it under pm2; config.yml, app.env, storage/, backups/ and logs/ sit beside the releases and survive every upgrade. It installs from --archive, a deployment archive built in an application project. This Skill decides when to use it and how to act on what it reports; --help is the reference for every flag.

Run it

Run the installer on the machine where the Agent works, with the registry named and --json. For SSH deployment this is the local machine, not the server:

npx --yes --registry="${NOCOBASE_REGISTRY:-https://registry.npmjs.org}" @nocobase/app-installer@beta <command> … --json

Use @beta for the published installer; do not fall back to an untagged invocation or @latest. Preserve an explicit version required for an existing installation or requested by the user, and use the snapshot tag when testing an unreleased local registry.

NocoBase 3 publishes to the public npm registry. NOCOBASE_REGISTRY is set only when someone points the shell at another registry, such as an unreleased snapshot; the installer records the registry in installer.json and suggests commands from it. The --yes before the package is npx's own: it downloads the installer without asking. The installer's --yes, after the command, is a separate answer that only the user gives.

Use the published beta channel unless the user specifies an exact version. An unreleased snapshot registry tags its packages latest; use that tag only when testing such a registry. Check --help before deploying to confirm the selected version supports deploy and --ssh.

--json prints one document on stdout and progress on stderr, in the same envelope as pnpm nocobase … --json. Read the document, not the exit code alone: ok, status (success, success-noop or failure), result, and on failure error.code, error.message, error.suggestions and error.details. Each suggestion has a message and, where there is one, a run of { command, args }: an executable and its arguments, run as given without a shell. app-installer 0.1.0-beta.1 and earlier, which a suggested command pinned to that version still runs, print status error and run as one shell line that runs as printed, so tell success from failure by ok.

Exit Meaning
0 Done, or nothing to do (success-noop).
1 Failed; an application that was already running was not touched.
2 Invalid usage, a failed precheck, or a confirmation still needed; nothing was written.
3 An upgrade failed after switching and was rolled back; the previous release is running.
4 Rolling back failed too; the application is down.

Choose the route

A project is source code someone changes, created by nocobase-create-app and developed locally; an installation is a built NocoBase that only runs, made by this Skill, usually in production. Settle the route before installing anything:

The user asks to Route
Install, create or try NocoBase, to develop with The nocobase-create-app Skill
Deploy an application to production or a server This Skill, --archive, from the application's deployment archive
Run it with Docker The application's nocobase-deployment Skill and Docker configuration
  • "Install NocoBase on this server" with no project and no archive is not settled yet. Running the user's own application means creating it locally with `nocobase-create-a
자주 묻는 질문

앱을 빌드하나요?

아니요. 이미 빌드된 앱을 설치하고 실행만 합니다.

업그레이드할 때 파일이 유지되나요?

네. 설정, 저장소, 백업, 로그가 업그레이드 후에도 유지된다고 스킬이 밝힙니다.

오프라인 서버에서도 작동하나요?

네. 오프라인 Linux 서버를 위해 설계되었습니다.

상세 정보

작성자의 원본 설명

Deploy a built NocoBase 3 application locally or over SSH to an offline Linux server, for production, with `@nocobase/app-installer` from the deployment archive `pnpm build --tar` writes, then upgrade, roll back and check it. Use when the user asks to deploy an application to production or a server, to upgrade or roll back such an installation, or when the directory holds an `installer.json` written by app-installer. Not for creating a project to develop, which is the `nocobase-create-app` Skill.

repo: nocobase/nocobase

인기도

GitHub 스타
25k
순위
#10108
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬