Installation Guide
System Requirements
- Operating System: macOS (Apple Silicon or Intel) or Linux (x86_64, arm64)
- Disk Space: At least 2 GB free for the runtime and a base local model
- Network: Required for initial install and cloud provider usage; local-only generation works offline after model download
Install Methods
curl Script (recommended)
curl -fsSL https://install.nimi.xyz | shThe script detects your OS and architecture, downloads the appropriate binary, and places it on your PATH.
npm Global Install
npm install -g @nimiplatform/nimiRequires Node.js 18 or later.
Verify the Installation
nimi versionThis prints the installed CLI version.
Run a full environment check:
nimi doctornimi doctor reports:
- CLI version
- Config file path
- gRPC daemon health
- Runtime mode and process status
- Local engine status
- Provider status
- Installed model count
Starting the Runtime
Background Mode (default)
nimi startLaunches the runtime daemon in the background and returns control to your terminal. The runtime listens on gRPC at 127.0.0.1:46371 by default.
Foreground Mode
nimi serveStarts the runtime in the foreground with logs streaming to stdout. Useful for debugging or watching runtime activity in real time. Press Ctrl+C to stop.
Verify the Runtime Is Running
nimi statusConfirms the daemon process is alive and reachable.
Default Endpoint
The runtime exposes a gRPC endpoint at:
127.0.0.1:46371All CLI commands and SDK clients connect to this endpoint by default.
Updating Nimi
curl Script
Re-run the install script. It replaces the existing binary with the latest version:
curl -fsSL https://install.nimi.xyz | shnpm
npm update -g @nimiplatform/nimiAfter updating, restart the runtime to pick up changes:
nimi stop
nimi startUninstalling
curl Script Install
Remove the binary from your PATH. The default location depends on your system; the install script prints the path during installation. Common locations:
rm /usr/local/bin/nimiRemove the configuration directory:
rm -rf ~/.niminpm Install
npm uninstall -g @nimiplatform/nimiRemove the configuration directory:
rm -rf ~/.nimiNext Steps
- User Quickstart -- first generation in five minutes
- CLI Command Reference -- full list of commands
- Troubleshooting -- common install issues