Skip to content

Installation

Install ai-rulez using your preferred package manager.

Package Managers

brew install goldziher/tap/ai-rulez
go install github.com/Goldziher/ai-rulez/cmd@latest
npm install -g ai-rulez
pip install ai-rulez

Run Without Installing

You can also run ai-rulez directly without a permanent installation.

go run github.com/Goldziher/ai-rulez/cmd@latest --help
uvx ai-rulez --help
npx ai-rulez@latest --help

Enable tab completion for your shell to see all available commands and flags interactively.

Highly Recommended

Setting up shell completion is a one-time step that makes the CLI much faster and easier to use. You'll be able to discover all commands just by pressing the <Tab> key.

# Add to ~/.bashrc or ~/.bash_profile
source <(ai-rulez completion bash)
# Add to ~/.zshrc
source <(ai-rulez completion zsh)
# Add to ~/.config/fish/config.fish
ai-rulez completion fish | source
# Add to your PowerShell profile
ai-rulez completion powershell | Out-String | Invoke-Expression

Verify Installation

Check that the installation was successful by running:

ai-rulez --version

Next Steps