Install theSolid# CLI
Paste the command for your OS. The installer handles Node, the CLI, your editor wiring, shell completion, and your first login — all without you typing another character.
curl -fsSL https://solidnumber.com/install.sh | shcurl -fsSL https://solidnumber.com/install.sh | shiwr -useb https://solidnumber.com/install.ps1 | iexWhat the installer actually does
Every step is idempotent — safe to re-run. Nothing landed on your machine that you can't see.
- 1Verifies Node 20+Installs Node 20 LTS via fnm (macOS/Linux) or winget (Windows) if missing. Skips if already present.
- 2Installs @solidnumber/cli globallynpm install -g @solidnumber/cli@latest — pulls the same package the docs reference.
- 3Opens the browser to log you inStandard OAuth-style flow. The token lands in ~/.solid/config.json and never leaves your machine.
- 4Wires Claude Code (if installed)Adds a SessionStart hook so .claude/CLAUDE.md auto-refreshes every Claude session. Detects via `which claude`.
- 5Installs shell tab-completionAuto-detects bash / zsh / fish / PowerShell and writes the completion script to the canonical path.
- 6Prints next stepsThree commands you can run: scaffold a business (54 industry templates), pull an existing company, or spin up a live demo.
Read install.sh or install.ps1 before you pipe to your shell. We expect you to.
Re-run any time to upgrade. Finds an existing install from any channel — npm, Homebrew or scoop — and upgrades that one rather than adding a second copy.
Auto-wires MCP for Claude Code / Cursor / Codex when detected. JSON error envelope is on by default in v2.0.
Prefer a package manager?
Pick whichever you already trust — all three install the same CLI. Use one: two package managers means two solid binaries, and whichever lands earlier on PATH wins, which is not always the newer one.
# macOS / Linux
brew install solidnumber/tap/cli
# Windows
scoop bucket add solidnumber https://github.com/Solidnumber/scoop-bucket
scoop install solidnumber/solid
# any platform with Node 20+
npm i -g @solidnumber/cli@latest
# already installed? one command, whichever of the three you used
solid update
# not sure what you have? lists every copy on PATH and flags the stale ones
solid update --checkManual install (no curl-pipe-shell)
If your security policy forbids piping a remote script to your shell, install in two steps:
# 1. Install Node 20+ from https://nodejs.org # 2. Install the CLI npm install -g @solidnumber/cli@latest # 3. Login + wire your editor solid auth login solid install # Claude Code SessionStart hook solid completion install # bash / zsh / fish / PowerShell