Skip to content

Installation

Install ai-rulez using your preferred package manager.

Package Managers

bash brew install goldziher/tap/ai-rulez

bash go install github.com/Goldziher/ai-rulez/cmd@latest

bash npm install -g ai-rulez

bash pip install ai-rulez

Run Without Installing

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

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

bash uvx ai-rulez --help

bash 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)
    ```

=== "Zsh"
```bash

    # Add to ~/.zshrc

    source <(ai-rulez completion zsh)
    ```

=== "Fish"
```bash

    # Add to ~/.config/fish/config.fish

    ai-rulez completion fish | source
    ```

=== "PowerShell"
```powershell

    # Add to your PowerShell profile

    ai-rulez completion powershell | Out-String | Invoke-Expression
    ```

## Verify Installation

Check that the installation was successful by running:

```bash
ai-rulez --version

Next Steps