nocobase-app-installer
Ce qu’il fait
Cette skill installe une application NocoBase 3 déjà compilée avec l'outil d'installation, sur une machine locale ou via SSH. Elle s'adresse aux personnes qui font fonctionner NocoBase en production et doivent le mettre à jour ou revenir en arrière.
Quand l’utiliser
- ✓Quand vous voulez déployer une application NocoBase 3 compilée sur un serveur de production.
- ✓Quand vous devez mettre à jour ou restaurer une installation NocoBase existante.
- ✓Quand vous devez vérifier qu'une installation NocoBase fonctionne correctement.
Lien du skill
https://github.com/nocobase/nocobase/blob/v3-develop/skills/nocobase-app-installer/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Je voudrais installer l'archive NocoBase compilée sur mon serveur Linux hors ligne et vérifier qu'elle démarre.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'IA lance l'installateur avec l'archive de déploiement. Chaque version est installée séparément, et la configuration, le stockage et les sauvegardes sont conservés entre les mises à jour. Elle vérifie ensuite le résultat.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Compile-t-elle l'application ?
Non. Elle installe et lance seulement une application déjà compilée.
Mes fichiers sont-ils conservés lors d'une mise à jour ?
Oui. La skill précise que la configuration, le stockage, les sauvegardes et les journaux survivent aux mises à jour.
Peut-elle fonctionner sur un serveur hors ligne ?
Oui. Elle est conçue pour les serveurs Linux hors ligne.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 25k
- Position au classement
- #10108
- Licence
- —
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
nocobase-app-development
25kAide votre agent à construire les pages, les routes, les données, les permissions et les tests d'une application métier NocoBase 3 complète.
shadcn
25kAide votre agent à trouver, ajouter, corriger et styliser des composants shadcn/ui dans un projet web, en utilisant leur documentation officielle et leurs registres.
nocobase-app-plugin-development
25kAide votre agent à créer et maintenir des extensions NocoBase 3 dans une application existante, y compris les parties serveur, client, base de données et enregistrement.
nocobase-app-upgrade
25kAide votre agent à mettre à niveau une application NocoBase vers une version plus récente du modèle, en intégrant les changements du modèle tout en conservant votre propre travail.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.