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

CommandWhat it does
aicash installAdd 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 loginEmail-code login that links this machine to your account so impressions earn a share.
aicash whoamiShow the signed-in account and this machine's installId.
aicash logoutSign out on this machine. It keeps serving ads anonymously.
aicash uninstallRemove aicash from every host: statusLine, opencode plugin entry, extension, Hermes/OpenClaw plugins.
aicash statusOffline summary of local state: statusLine installed, account, installId, last cached ad.
aicash previewRender a sample ad in the terminal to see how it looks (--toast for the toast form).
aicash doctorDiagnose your setup: statusLine, script path, node on PATH, login, and proxy connectivity.
aicash updateUpdate aicash to the latest published version (runs npm i -g aicash@latest).
aicash --versionShow the installed version and check npm for a newer one (alias: -v).
aicash helpPrint usage (aliases: --help, -h).

Flags

FlagApplies toEffect
--forceinstallOverwrite an existing statusLine instead of refusing.
--toastpreviewRender the toast variant instead of the status-bar line.
--help, -h(global)Print usage and exit.

Files

PathPurpose
~/.claude/settings.jsonWhere aicash adds (and removes) the statusLine entry.
~/.claude/settings.json.aicash-bakBackup 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