You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`docs/migration/` — Migration guides (e.g., from dfx)
224
224
225
+
### Installation Instructions
226
+
227
+
-**npm is the recommended installation method** for quickstarts, tutorials, and READMEs
228
+
- Only `docs/guides/installation.md` should list all installation options
229
+
- Follow DRY: other docs should link to the installation guide rather than duplicating instructions
230
+
- Consistent ordering: npm (in Quick Install), then Homebrew, then Shell Script (in Alternative Methods)
231
+
- When referencing alternatives in other docs, maintain this order: "Homebrew, shell script, ..." (e.g., "See the Installation Guide for Homebrew, shell script, or other options")
232
+
- Both `icp-cli` and `ic-wasm` are available as official Homebrew formulas: `brew install icp-cli` and `brew install ic-wasm`
233
+
225
234
### Paths
226
235
227
236
All paths are UTF-8. `PathBuf` and `Path` are the types from `camino`.
> **Alternative methods:** See the [Installation Guide](docs/guides/installation.md) for shell script, Homebrew, Rust setup, or platform-specific instructions.
19
+
> **Alternative methods:** See the [Installation Guide](docs/guides/installation.md) for Homebrew, shell script, Rust setup, or platform-specific instructions.
20
20
21
21
Then follow the **[Quickstart](docs/quickstart.md)** to deploy your first canister in under 5 minutes.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dfinity/icp-cli/releases/latest/download/icp-cli-installer.sh | sh
83
73
```
84
74
85
-
To update later: `brew upgrade dfinity/tap/icp-cli`
86
-
87
-
> **Note:** Homebrew installs ic-wasm as a dependency, so you can skip the ic-wasm installation below.
75
+
**Shell Script (Windows):**
88
76
89
-
> **Note:**[Node.js](https://nodejs.org/) (LTS recommended) is still required for the Motoko toolchain and frontend canisters when using alternative installation methods.
curl -fsSL cli.mops.one/install.sh | sh && mops toolchain init
135
122
```
136
123
124
+
> **Note:** Requires [Node.js](https://nodejs.org/) and a package manager (npm, pnpm, or bun). The shell script installs the latest Mops version stored onchain on ICP.
0 commit comments