# Pachca CLI

> A command-line tool for working with the Pachca API. It runs without installation via npx and works well for AI agents, scripts and CI

Источник: https://pachca.com/en/glossary/pachca-cli

Pachca CLI (@pachca/cli) is the Pachca API as terminal commands. You can run it without installing anything with npx -y @pachca/cli, or install it globally with npm.

Key commands:

- pachca auth login: log in with a token
- pachca auth status: see which user you're logged in as
- pachca commands: list every command, then use --help for details on any of them
- pachca auth logout: log out

For an agent, the CLI beats calling the API directly: there's no need to load docs into the context, since the agent discovers what it can do right from the terminal. There's also a headless mode for agents and CI. Together with Agent Skills, it's the fastest way to connect Claude Code, Cursor or Codex to Pachca: three commands and a couple of minutes.

Learn more in the Help Center

[Read the article →](https://pachca.com/en/blog/kak-podklyuchit-ai-agenta-k-pachke)

For developers

[Docs on dev.pachca.com →](https://dev.pachca.com/guides/ai-agents/overview?utm_source=pachca.com&utm_medium=glossary&utm_campaign=dev-portal)
