# CLI commands

> Every notholy command and what it does.


These commands need the CLI installed and signed in. See [Install the CLI](/en/cli/install).

| Command | What it does |
|---|---|
| `notholy help`, `notholy --version` | Command list, installed version |
| `notholy` | Opens the terminal agent |
| `notholy "question"` | One answer. Reads stdin when piped |
| `notholy login`, `logout`, `whoami` | Account |
| `notholy models` | Models and rates |
| `notholy credits` | Balance |
| `notholy cve CVE-2024-3094` | One CVE record |
| `notholy cve search "openssl" --kev` | Search CVEs |
| `notholy analyze ./app.apk` | Upload a file for static analysis in the sandbox. It is kept for 1 hour and you can ask about it |
| `notholy connect TOOL` | Write a tool's configuration, with a backup |
| `notholy run TOOL` | Start a tool with NotHoly for that process only |
| `notholy mcp` | Start the local MCP server |
| `notholy doctor` | Test account, network, streaming and tools |

Every lookup command accepts `--json`.

Spend history and API keys are in the console, under **Activity** and **API keys**.

```bash
git diff | notholy "review this diff for injection bugs"
notholy cve search "openssh" --kev --json
```

## Next

- [Terminal agent](/en/cli/agent)
