Local development environment
Setting up a local development environment gives you full control and offline capabilities. You'll need Node.js, npm, and a code editor installed on your machine.
You can develop in GitHub Codespaces using VS Code in your browser - no local installation required.
Prerequisites
Install Node.js and npm
Recommended version: Node.js v22.13.0 or later
Option 1: Direct download Download Node.js from https://nodejs.org (npm is included automatically)
Option 2: Using Node Version Manager (recommended) NVM allows you to install and switch between Node.js versions easily:
# Install specific Node.js version
nvm install 22.13.0
nvm use 22.13.0
# Verify installation
node --version
npm --version
Install a code editor
Recommended: VS Code with Comind extensions
Alternatives: Cursor, WindSurf, or other VS Code-based editors that support extensions
Repository setup
Step 1: Clone your repository
Clone your organization's repository (you should have received access from your admin):
git clone https://github.com/comindwork/your-org.git
cd your-org
If you encounter GitHub authentication problems:
- Check status:
gh auth status
- Login:
gh auth login
Step 2: Open in VS Code
- Open the repository folder in VS Code
- Important: Accept the prompt to install recommended extensions
Step 3: Verify your setup
Test that everything works by running these commands in the VS Code Terminal:
# Copy sample environment variables
cp .config/dev.env.sample .config/dev.env
# Install dependencies and run tests
npm install
npm test
If all commands succeed, you're ready to start developing Comind apps!
Next steps
✅ Setup complete! Now you should:
- Configure environment variables for your organization
- Start developing apps