Installation
Quick Install (Recommended)
The fastest way to get cora — single command, no Rust required:
bash
$ curl -fsSL https://raw.githubusercontent.com/codecoradev/cora-cli/main/install.sh | shInstalls to ~/.local/bin. Add to PATH if needed:
bash
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrcPin a specific version:
bash
$ CORA_VERSION=v0.6.0 curl -fsSL https://raw.githubusercontent.com/codecoradev/cora-cli/main/install.sh | shInstall via Cargo
If you have Rust 1.85+ installed:
bash
$ cargo install cora-cliThis 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/coraBuild 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/coraShell 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.fishVerify Installation
Confirm cora is installed correctly:
bash
$ cora --version
cora 0.x.x
$ cora auth status
Provider: openai
API key: configuredUpdating
To update cora to the latest version:
| Method | Command |
|---|---|
| Via Cargo | cargo install cora-cli --force |
| Via Binary | Download the latest release from GitHub and replace the existing binary |