create-nocobase-app Installation
Prerequisites
- Node.js >= 22, Yarn 1.22.x installed
- One of the following databases configured and running: MySQL 8.0.17+, MariaDB 10.9+, or PostgreSQL 10+
1. Create a NocoBase Project
Select the NocoBase version (Version Comparison) and database type, then execute the corresponding command.
Environment Variable Description
TZis used to set the application's time zone, defaulting to the operating system's time zone.APP_KEYis the application's secret key, used for generating user tokens, etc. (IfAPP_KEYis modified, old tokens will become invalid). It can be any random string. Please change it to your own secret key and ensure it is not exposed.DB_*are database-related configurations. Please modify them according to your actual database connection information.
2. Switch Directory
3. Install Dependencies
📢 This step may take several minutes depending on your network environment and system configuration.
Production Environment Tip
When deploying to a production environment, you can install only the necessary dependencies to reduce the size:
4. Install NocoBase
The installation process will automatically create the database table structure and initialize data.
5. Start NocoBase
Development Environment
Production Environment
6. Log in to NocoBase
Open http://localhost:13000 in your browser. The initial account and password are admin@nocobase.com and admin123.
Account Security Tip
After your first login, please change the default password immediately to ensure system security.

