Install the CLI
Install arcane-cli with a script, a package manager, Homebrew, or Go.
arcane-cli is the official command-line client for Arcane. Use it to manage containers, projects, images, environments, and more on your Arcane server from a terminal or script.
Install with the script
Section titled “Install with the script”The install script downloads the binary for your platform. Pick the release channel you want:
Stable latest
curl -fsSL https://getarcane.app/install-cli.sh | shStable pinned
curl -fsSL https://getarcane.app/install-cli.sh | sh -s -- 2.5.0Beta latest
curl -fsSL https://getarcane.app/install-cli.sh | sh -s -- --betaStable installs come from GitHub Releases.
The script installs to $HOME/.arcane/bin unless you set ARCANE_INSTALL_DIR. If that directory is not on your PATH, the script prints the lines to add to your shell profile:
export ARCANE_INSTALL_DIR="$HOME/.arcane/bin"export PATH="$ARCANE_INSTALL_DIR:$PATH"Download manually
Section titled “Download manually”Download the binary for your platform from GitHub Releases.
Install with APT (Debian / Ubuntu)
Section titled “Install with APT (Debian / Ubuntu)”- Add the signing key:
curl -fsSL https://pkgs.getarcane.app/repository/raw/arcane-repo-signing.asc | sudo gpg --dearmor -o /usr/share/keyrings/arcane-archive-keyring.gpg- Add the repository:
sudo tee /etc/apt/sources.list.d/arcane.sources << 'EOF'Types: debURIs: https://pkgs.getarcane.app/repository/debian/Suites: stableComponents: mainSigned-By: /usr/share/keyrings/arcane-archive-keyring.gpgEOF- Install:
sudo apt update && sudo apt install arcane-cliInstall with YUM / DNF (RHEL, Fedora, CentOS)
Section titled “Install with YUM / DNF (RHEL, Fedora, CentOS)”- Add the repository:
sudo tee /etc/yum.repos.d/arcane.repo << 'EOF'[arcane]name=Arcane Repositorybaseurl=https://pkgs.getarcane.app/repository/yum/$basearch/enabled=1gpgcheck=0EOF- Install:
sudo dnf install arcane-cliInstall with Homebrew
Section titled “Install with Homebrew”brew install getarcaneapp/tap/arcane-cliInstall with Go
Section titled “Install with Go”go install github.com/getarcaneapp/arcane/cli/v2@latestGo names the installed binary cli, after the module path. Rename it to arcane-cli if you want the commands in these docs to work as written.
Next, point the CLI at your server and sign in. See CLI Configuration.