Mosaic CLI Docs 中文

Install

Install Mosaic CLI

Pick one method by platform. Source installers are stable fallback when release assets are unavailable.

macOS (Homebrew)

brew tap ooiai/mosaic https://github.com/ooiai/mosaic
brew install mosaic
mosaic --help

Linux / macOS (source installer)

curl -fsSL https://raw.githubusercontent.com/ooiai/mosaic/main/cli/install.sh |
bash -s -- --from-source
mosaic --help

Windows (PowerShell)

irm https://raw.githubusercontent.com/ooiai/mosaic/main/cli/install.ps1 -OutFile install.ps1
powershell -ExecutionPolicy Bypass -File .\install.ps1 -FromSource
mosaic --help
Tip: if command is not found, add $HOME/.cargo/bin to PATH and restart terminal.

Verification

mosaic --version
mosaic --help