Appearance
Installation
The BetterPrompt CLI is available as betterprompt (with a shorter alias bp). Choose one of the installation methods below.
npm
Requires Node.js 18+.
bash
npm install -g betterpromptStandalone binary (macOS / Linux)
No Node.js required. The install script detects your OS and architecture automatically.
bash
curl -fsSL https://raw.githubusercontent.com/BetterPromptme/betterprompt/main/install.sh | bashSupported platforms: macOS (x64, arm64), Linux (x64, arm64).
Verify
bash
betterprompt --version
betterprompt --helpGlobal flags
These flags are available on all commands:
| Flag | Description |
|---|---|
--project | Use project-local scope. |
--global | Use global scope. |
--dir <path> | Override working directory. |
--registry <url> | Override API registry endpoint. |
--json | Machine-readable JSON output. |
--quiet | Suppress non-essential output. |
--verbose | Enable verbose/debug output. |
--no-color | Disable ANSI colors. |
--yes | Skip confirmation prompts. |
-h, --help | Show help. |
-V, --version | Show CLI version. |