LogoPolyClient

Linux

1. Bash script (All distros)

curl -fsSL https://polyclient.pages.dev/install.sh | bash

The script does the following:

  1. Detects the system architecture.
  2. Downloads the appropriate binary.
  3. Extracts it to /usr/local/bin/polyclient.
  4. Ensures the binary is executable.
  5. Adds the binary to the user's PATH.

2. Package managers

Arch Linux (AUR)

Requires an AUR helper, such as yay/paru/pikaur.

yay -S polyclient
 
# or
paru -S polyclient
 
# or
pikaur -S polyclient

Or manually:

git clone https://aur.archlinux.org/polyclient.git
cd polyclient
makepkg -si

Debian-based (Ubuntu, Pop!_OS, Linux Mint, etc.)

echo "deb [trusted=yes] https://polyclient.pages.dev/deb stable main" | sudo tee /etc/apt/sources.list.d/polyclient.list
sudo apt update
sudo apt install polyclient

Fedora/RHEL-Based (DNF - Copr Repository)

sudo dnf copr enable polyclient/polyclient
sudo dnf install polyclient

openSUSE (Zypper - OBS Repository)

sudo zypper addrepo https://download.opensuse.org/repositories/home:polyclient/polyclient.repo
sudo zypper refresh
sudo zypper install polyclient

Alpine Linux (APK - Community Repository)

echo "@community https://polyclient.pages.dev/alpine" | sudo tee -a /etc/apk/repositories
sudo apk update
sudo apk add polyclient

Void Linux (XBPS - Third-Party Repository)

sudo xbps-install -S polyclient

3. AppImage (Portable Option)

  1. Download:

    wget https://polyclient.pages.dev/releases/latest/polyclient.AppImage -O polyclient.AppImage
  2. Make executable:

    chmod +x polyclient.AppImage
  3. Run:

    ./polyclient.AppImage
  4. (Optional) Move to a system-wide location:

    sudo mv polyclient.AppImage /usr/local/bin/polyclient

Post-installation steps

Verify installation

polyclient --version

Adding polyclient to the PATH (if needed)

If for some reason polyclient is not recognized after installation, add it to your PATH:

For Bash:

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

For Zsh:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

For Fish:

echo 'set -gx PATH $HOME/.local/bin $PATH' >> ~/.config/fish/config.fish