Quickstart
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.
Install
# 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-mops && mops toolchain initAlternative methods: See the Installation Guide for shell script, Homebrew, or other options.
Steps
# 1. Create a new project with Motoko backend + React frontendicp 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 deployicp deploy
# 4. Call your backend canistericp canister call backend greet '("World")'
# 5. Stop the local network when doneicp network stopYou should see ("Hello, World!") — and after deploying, open the frontend URL shown in the output to see your app.
What’s next?
- Tutorial — Understand each step in detail
- Configuration Reference — Customize your project
- Deploy to Mainnet — Go live on the Internet Computer