CLI reference
Two names, identical entry points: invincible and inv. The tables
below omit the invincible prefix, and every row is verified against
--help on the shipped package.
Pair and connect
| Command | What it does |
|---|---|
login |
Pair once (browser opens) |
connect |
Keep this machine online (Ctrl+C to stop) |
status |
Account, agent liveness, machine inventory |
harness setup |
Advanced: pair once, print the MCP connector config |
harness connect |
Advanced: same as connect |
harness status |
Advanced: same as status |
harness service install |
Write the always-on service (--dry-run prints) |
harness service restart |
Restart the installed service (post-upgrade step) |
Server administration (self-host)
| Command | What it does |
|---|---|
setup |
Create or update .env (secrets never echoed) |
start |
Start the gateway: --host, --port, --tunnel |
doctor |
Environment and config diagnostics; schema check |
db upgrade |
Run the packaged migrations to head (never auto) |
secret rotate |
New INVINCIBLE_OWNER_SECRET, written in place |
secret credential-key |
Generate the BYOK Fernet key |
dev-db |
Local development Postgres; prints the DSN |
update |
Install/check the latest release; channel-aware (--check is a dry run) |
Accounts, keys, and grants
| Command | What it does |
|---|---|
users list |
List dashboard accounts (host tool) |
users reset-password |
Password reset — host recovery path |
api-key create |
Mint an inv_ key (raw value shown once) |
api-key list |
List keys by label and prefix |
api-key revoke |
Revoke a key by id or visible prefix |
oauth list |
OAuth clients and their active MCP grants |
oauth revoke |
Revoke every token issued to one client |
Run any command with --help for the exact flags. First run of connect
pairs automatically; login is the explicit re-pair tool.