docs/docs/en/ai/local-development-setup.md
This page helps you prepare a local environment for NocoBase CLI and NocoBase apps. It is intended for local development, feature evaluation, and AI Agents installing or managing NocoBase on your computer.
For real user-facing deployment, see Production system requirements.
For local setup on Windows, we recommend keeping the main development environment inside WSL 2: install Node.js, Yarn, and NocoBase CLI in the Linux distribution in WSL, and run related commands from the WSL terminal.
WSL is closer to the Linux environments where NocoBase is commonly deployed. This gives you several benefits:
docker commands directly inside WSLnb, yarn, or docker, it uses one consistent Linux file path, shell syntax, and runtime environment, which makes troubleshooting more directIf the WSL-based local development environment is not ready yet, see Set Up a Local Development Environment on Windows with WSL.
Recommended setup:
Usually, Node.js, Yarn, and NocoBase CLI should all be installed inside WSL. If you use Docker Desktop, enable WSL integration in Docker Desktop so WSL can access Docker.
Check the environment:
node -v
yarn -v
docker version
:::tip Note
NocoBase can also be installed on Windows Server. WSL is recommended here for local development and AI Agent setup on personal computers. It does not mean Windows Server cannot be used for deployment.
:::
On macOS, you can use the local terminal directly.
Prepare:
Check the environment:
node -v
yarn -v
docker version
If you do not use Docker, you can skip docker version.
Linux can be used directly as a local development environment. Ubuntu, Debian, or other common distributions are recommended.
Prepare:
Check the environment:
node -v
yarn -v
docker version
If you do not use Docker, you can skip docker version.