← Back to home
CLI reference
CLI reference
Last updated July 2026
The aicash CLI manages the status-line ad and your revenue-share account. Run aicash with no arguments (or --help) to print usage.
Synopsis
aicash <command> [flags]Commands
| Command | What it does |
|---|---|
| aicash install | Add the ad line to every detected AI tool (Claude Code statusLine, opencode TUI plugin, VS Code/Kiro/AntiGravity extension, Hermes & OpenClaw chat plugins). Add --force to overwrite a non-aicash statusLine. |
| aicash login | Email-code login that links this machine to your account so impressions earn a share. |
| aicash whoami | Show the signed-in account and this machine's installId. |
| aicash logout | Sign out on this machine. It keeps serving ads anonymously. |
| aicash uninstall | Remove aicash from every host: statusLine, opencode plugin entry, extension, Hermes/OpenClaw plugins. |
| aicash status | Offline summary of local state: statusLine installed, account, installId, last cached ad. |
| aicash preview | Render a sample ad in the terminal to see how it looks (--toast for the toast form). |
| aicash doctor | Diagnose your setup: statusLine, script path, node on PATH, login, and proxy connectivity. |
| aicash update | Update aicash to the latest published version (runs npm i -g aicash@latest). |
| aicash --version | Show the installed version and check npm for a newer one (alias: -v). |
| aicash help | Print usage (aliases: --help, -h). |
Flags
| Flag | Applies to | Effect |
|---|---|---|
| --force | install | Overwrite an existing statusLine instead of refusing. |
| --toast | preview | Render the toast variant instead of the status-bar line. |
| --help, -h | (global) | Print usage and exit. |
Files
| Path | Purpose |
|---|---|
| ~/.claude/settings.json | Where aicash adds (and removes) the statusLine entry. |
| ~/.claude/settings.json.aicash-bak | Backup written by install before any change. |
Examples
aicash install --force # replace whatever statusLine you already have
aicash login # link this machine to your earnings account
aicash whoami # confirm the account + installId
aicash uninstall # remove the status line, keep the rest of settings