# Upgrading for Git source code
## 1. switch to the NocoBase project directory
```bash
cd my-nocobase-app
```
## 2. Pull the latest code
git pull
## 3. Delete cache and dependencies (optional)
# delete nocobase cache
yarn nocobase clean
# delete dependencies
yarn rimraf -rf node_modules
## 4. Update dependencies
yarn install
## 5. Execute the update command
yarn nocobase upgrade
## 6. Start NocoBase
development environment
yarn dev
Production environment
# compile
yarn build
# Start
yarn start # Not supported on Windows platforms yet