Skip to content

Installation

The fastest way to get cora — single command, no Rust required:

bash
$ curl -fsSL https://raw.githubusercontent.com/codecoradev/cora-cli/main/install.sh | sh

Installs to ~/.local/bin. Add to PATH if needed:

bash
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc

Pin a specific version:

bash
$ CORA_VERSION=v0.6.0 curl -fsSL https://raw.githubusercontent.com/codecoradev/cora-cli/main/install.sh | sh

Install via Cargo

If you have Rust 1.85+ installed:

bash
$ cargo install cora-cli

This compiles cora from source and installs it to Cargo's binary directory (typically ~/.cargo/bin/).

Download Binary

Pre-built binaries are available from the GitHub Releases page.

Supported platforms:

  • Linux x86_64 (glibc)
  • Linux arm64 (aarch64)
  • macOS arm64 (Apple Silicon)
  • Windows x86_64
bash
# Download and extract
$ curl -sL https://github.com/codecoradev/cora-cli/releases/latest/download/cora-linux-x86_64.tar.gz | tar xz
$ mv cora ~/.local/bin/cora

Build from Source

If you prefer to build from the latest source:

bash
$ git clone https://github.com/codecoradev/cora-cli.git
$ cd cora-cli
$ cargo build --release
# Binary at target/release/cora

Shell Completions

cora provides shell completions for bash, zsh, and fish:

bash
# Bash
$ cora completion bash > ~/.cora/completion.bash
$ echo 'source ~/.cora/completion.bash' >> ~/.bashrc

# Zsh
$ cora completion zsh > ~/.cora/completion.zsh
$ echo 'source ~/.cora/completion.zsh' >> ~/.zshrc

# Fish
$ cora completion fish > ~/.config/fish/completions/cora.fish

Verify Installation

Confirm cora is installed correctly:

bash
$ cora --version
cora 0.x.x

$ cora auth status
Provider: openai
API key: configured

Updating

To update cora to the latest version:

MethodCommand
Via Cargocargo install cora-cli --force
Via BinaryDownload the latest release from GitHub and replace the existing binary

Released under the MIT License.