- Table of contents
Pre-built binaries for Linux can be found on the releases page, the latest release is available here.
For example, to install clipcat to ~/bin:
# create ~/bin
mkdir -p ~/bin
# change directory to ~/bin
cd ~/bin
# download and extract clipcat to ~/bin/
# NOTE: you can replace the version with the version you want to install
export CLIPCAT_VERSION=$(basename $(curl -s -w %{redirect_url} https://github.com/xrelkd/clipcat/releases/latest))
# NOTE: the architecture of your machine,
# available values are `x86_64-unknown-linux-musl`, `aarch64-unknown-linux-musl`
export ARCH=x86_64-unknown-linux-musl
curl -s -L "https://github.com/xrelkd/clipcat/releases/download/${CLIPCAT_VERSION}/clipcat-${CLIPCAT_VERSION}-${ARCH}.tar.gz" | tar xzf -
# add `~/bin` to the paths that your shell searches for executables
# this line should be added to your shells initialization file,
# e.g. `~/.bashrc` or `~/.zshrc`
export PATH="$PATH:$HOME/bin"
# show version info
clipcatd version
clipcatctl version --client
clipcat-menu version --clientclipcat requires the following tools and packages to build:
rustccargoprotobuf-compiler
With the above tools and packages already installed, you can simply run:
git clone --branch=main https://github.com/xrelkd/clipcat.git
cd clipcat
cargo install --path clipcatd
cargo install --path clipcatctl
cargo install --path clipcat-menunix profile install 'github:xrelkd/clipcat/main'nix-env -iA nixos.clipcatnix-env -iA nixpkgs.clipcatpacman -S clipcatexport CLIPCAT_VERSION=$(basename $(curl -s -w %{redirect_url} https://github.com/xrelkd/clipcat/releases/latest))
curl -s -L -O https://github.com/xrelkd/clipcat/releases/download/${CLIPCAT_VERSION}/clipcat_${CLIPCAT_VERSION#v}_amd64.deb
dpkg -i clipcat_${CLIPCAT_VERSION#v}_amd64.debexport CLIPCAT_VERSION=$(basename $(curl -s -w %{redirect_url} https://github.com/xrelkd/clipcat/releases/latest))
curl -s -L -O https://github.com/xrelkd/clipcat/releases/download/${CLIPCAT_VERSION}/clipcat-${CLIPCAT_VERSION#v}-1.el7.x86_64.rpm
dnf install --assumeyes clipcat-${CLIPCAT_VERSION#v}-1.el7.x86_64.rpmpkg install clipcat