@fabriccode/cli
v7.0.98
Published
The AI coding agent built for the terminal. Generate code from natural language, automate tasks, and run terminal commands -- powered by 500+ AI models.
Downloads
5,143
Readme
Fabric Code CLI
The AI coding agent built for the terminal. Generate code from natural language, automate tasks, and run terminal commands -- powered by 500+ AI models.
Install
npm install -g @fabriccode/cliOr run directly with npx:
npx --package @fabriccode/cli fabricGetting Started
Run fabric in any project directory to launch the interactive TUI:
fabricRun a one-off task:
fabric run "add input validation to the signup form"Features
- Code generation -- describe what you want in natural language
- Terminal commands -- the agent can run shell commands on your behalf
- 500+ AI models -- use models from OpenAI, Anthropic, Google, and more
- MCP servers -- extend agent capabilities with the Model Context Protocol
- Multiple modes -- Plan with Architect, code with Coder, debug with Debugger, or create your own
- Sessions -- resume previous conversations and export transcripts
- API keys optional -- bring your own keys or use Fabric credits
Commands
| Command | Description |
| --------------------- | -------------------------- |
| fabric | Launch interactive TUI |
| fabric run "<task>" | Run a one-off task |
| fabric auth | Manage authentication |
| fabric models | List available models |
| fabric mcp | Manage MCP servers |
| fabric session list | List sessions |
| fabric session delete | Delete a session |
| fabric export | Export session transcripts |
Run fabric --help for the full list.
Alternative Installation
Homebrew (macOS/Linux)
brew install Fabric-Pro/tap/fabricGitHub Releases
Download pre-built binaries from the Releases page.
Documentation
Links
License
MIT
