Installing copia-cli on Linux¶
Recommended (Official)¶
Homebrew¶
brew install qubernetic/tap/copia-cli
To upgrade:
brew upgrade qubernetic/tap/copia-cli
Debian/Ubuntu (.deb)¶
Download the .deb package for your architecture from the latest release. Its file name holds the version, for example copia-cli_<version>_linux_amd64.deb. Then install it, with your file's name in place of the example:
sudo dpkg -i copia-cli_<version>_linux_amd64.deb
Fedora/RHEL (COPR)¶
sudo dnf copr enable cbiro/copia-cli
sudo dnf install copia-cli
To upgrade:
sudo dnf upgrade copia-cli
Alternatively, download the .rpm package for your architecture from the latest release and install it, with your file's name in place of the example:
sudo dnf install -y copia-cli_<version>_linux_amd64.rpm
Snap¶
sudo snap install copia-cli
Note
The Snap is built for amd64 only. On other architectures, use a release binary or another installation method.
Note
The Snap uses strict confinement: it can only access files in your home directory. If you work with git repositories outside $HOME, use a different installation method.
AUR (Arch Linux)¶
yay -S copia-cli-bin
Or with any other AUR helper. The package is copia-cli-bin.
Precompiled binaries¶
Copia CLI releases contain precompiled binaries for amd64, arm64, 386, and armv6 architectures.
# Download and extract
tar xzf copia-cli_*_linux_amd64.tar.gz
# Move to PATH
sudo mv copia-cli /usr/local/bin/
Building from source¶
See Build from source.