Skip to main content
The commands that manage the CLI itself rather than workspace data. For the full story on signing in, see Authentication.

login

Signs in to a workspace through the browser and saves the session to ~/.config/neetorecord/auth.json. Run it once per workspace you work with.
Without --subdomain the command prompts for it.

logout

Signs out of a workspace and removes its saved session.
With exactly one workspace signed in, --subdomain can be left out. With several, pass --subdomain to pick one or --all to sign out of every workspace.

whoami

Prints the account and workspace the CLI is signed in as. Run it when you are not sure which workspace a command is about to hit.
When several workspaces are signed in, every one is listed.

doctor

Checks authentication, API reachability, and the CLI version in a single pass. Start here when a command fails and the message does not make the cause obvious.
Each check runs independently, so a failing one does not hide the others.

version

Prints the version, commit, and build date of the installed binary. Include this in bug reports.

update

Upgrades the CLI in place. It detects how the binary was installed and runs the matching upgrade: brew upgrade for a Homebrew install, the install script otherwise, and the PowerShell script on Windows.

setup

Teaches an AI coding assistant how to drive the CLI by writing that assistant’s rules file. See AI assistants for what each subcommand writes.
Available subcommands: claude, cursor, windsurf, copilot, gemini, codex.

commands

Prints the full command tree, including every flag, as JSON. This is what an AI assistant should read when it needs a flag that its rules file does not cover, and it is always accurate for the installed binary.

Shell completion

completion writes the completion script under ~/.config/neetorecord/completions and wires your shell to load it on the next start. There is nothing to source by hand.
The zsh, bash, and PowerShell variants add a small block to ~/.zshrc, ~/.bashrc, or your PowerShell profile. Re-running refreshes both the script and that block instead of duplicating it. The fish script goes to ~/.config/fish/completions, which fish loads on its own. Start a new shell to pick up the completions.
The script is generated from the command tree at the time you run it. Re-run neetorecord completion <shell> after every upgrade so completions include the newest commands and flags.
Pass --print to write the script to standard output instead of installing it, which is handy when you manage shell config yourself: