Deploy a full-stack app to a local network in under 5 minutes.
Prerequisites: Node.js (LTS) is required for the installation commands below.
Windows users: This quickstart requires WSL (for Motoko) and Docker Desktop (for local networks). Install both first, then run all commands inside WSL.
# icp-cli and ic-wasm (required)
npm install -g @icp-sdk/icp-cli @icp-sdk/ic-wasm
# Motoko toolchain (for Motoko projects)
npm install -g ic-mopsAlternative methods: See the Installation Guide for Homebrew, shell script, or other options.
# 1. Create a new project with Motoko backend + React frontend
icp new my-project --subfolder hello-world \
--define backend_type=motoko \
--define frontend_type=react \
--define network_type=Default && cd my-project
# 2. Start a local network (runs in background)
icp network start -d
# 3. Build and deploy
icp deploy
# 4. Call your backend canister
icp canister call backend greet '("World")'
# 5. Stop the local network when done
icp network stopYou should see ("Hello, World!") — and after deploying, open the frontend URL shown in the output to see your app.
- Tutorial — Understand each step in detail
- Configuration Reference — Customize your project
- Deploy to Mainnet — Go live on the Internet Computer