> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.pensar.dev/apex/cli-commands/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.pensar.dev/apex/_mcp/server. # CLI Commands > AI-powered penetration testing CLI. ## Docs - [pensar pentest](https://docs.pensar.dev/apex/cli-commands/pensar-pentest.md): Run a full autonomous pentest orchestration from the command line - [pensar targeted-pentest](https://docs.pensar.dev/apex/cli-commands/pensar-targeted-pentest.md): Run a targeted pentest with specific testing objectives - [pensar threat-model](https://docs.pensar.dev/apex/cli-commands/pensar-threat-model.md): Generate an application-centric threat model from the command line - [pensar login](https://docs.pensar.dev/apex/cli-commands/pensar-login.md): Connect to Pensar Console from the command line - [pensar pentests](https://docs.pensar.dev/apex/cli-commands/pensar-pentests.md): List, view, and dispatch pentests via the Pensar Console API - [pensar targets](https://docs.pensar.dev/apex/cli-commands/pensar-targets.md): List pentest targets and query their agent execution logs via the Pensar Console API - [pensar issues](https://docs.pensar.dev/apex/cli-commands/pensar-issues.md): List, view, update, retest, comment on, and link pull requests to security issues via the Pensar Console API - [pensar apps](https://docs.pensar.dev/apex/cli-commands/pensar-apps.md): Manage the workspace attack surface — apps and endpoints — via the Pensar Console API - [pensar fixes](https://docs.pensar.dev/apex/cli-commands/pensar-fixes.md): View security fixes and diffs via the Pensar Console API - [pensar knowledge](https://docs.pensar.dev/apex/cli-commands/pensar-knowledge.md): Read and edit the workspace knowledge base via the Pensar Console API - [pensar logs](https://docs.pensar.dev/apex/cli-commands/pensar-logs.md): View and search agent execution logs via the Pensar Console API - [pensar config](https://docs.pensar.dev/apex/cli-commands/pensar-config.md): Manage global default HTTP headers that Apex snapshots into new pentest sessions - [pensar upgrade](https://docs.pensar.dev/apex/cli-commands/pensar-upgrade.md): Update Pensar Apex to the latest version - [pensar doctor](https://docs.pensar.dev/apex/cli-commands/pensar-doctor.md): Check dependencies and install missing tools - [pensar uninstall](https://docs.pensar.dev/apex/cli-commands/pensar-uninstall.md): Fully remove Pensar Apex from your system - [pensar version](https://docs.pensar.dev/apex/cli-commands/pensar-version.md): Display the installed Pensar Apex version