CLI

Installation

Installation of Agentuity CLI

Installation

macOS Installation

curl -sSL https://agentuity.sh/install.sh | bash

Upgrading on macOS

To upgrade to the latest version of the Agentuity CLI:

agentuity upgrade

Manual Installation

You can also manually download and install the Agentuity CLI from the GitHub releases page for any platform:

  1. Visit the Agentuity CLI releases page
  2. Download the appropriate version for your operating system
  3. Extract the downloaded file
  4. Add the executable to your system PATH

Source Code

The source code for the Agentuity CLI is available on GitHub.

Shell Completions

The Agentuity CLI provides shell completions for bash, zsh, fish, and PowerShell. These can help make your command line experience more efficient by providing tab-completion for commands and options.

Automatic Setup

When you install the CLI using the installer scripts, completions are automatically set up for:

  • Bash and Zsh on macOS and Linux (when you have write permissions to the completion directories)
  • PowerShell on Windows

Manual Setup

You can manually set up completions for any supported shell using the agentuity completion command.

To load completions in your current bash session:

source <(agentuity completion bash)

To load completions for every new session:

For Linux:

agentuity completion bash > /etc/bash_completion.d/agentuity

For macOS:

agentuity completion bash > $(brew --prefix)/etc/bash_completion.d/agentuity

Note: This depends on the bash-completion package. If not already installed, you can install it via your OS's package manager.

On this page