Installation
The club CLI is a single native binary built for every major
platform. There are three ways to get it:
- Install script — one-liner that fetches the right archive for your OS + CPU, verifies the checksum, and drops the binary on your PATH. Works on Linux and macOS.
- Manual download — grab the archive from the releases page and extract it wherever you want. Use this on Windows, in locked-down environments, or when you want to pin a specific version by hand.
- From source — activate the CLI via
dart pub global activatefrom a cloned repo. Best for local development on the CLI itself.
Install script (Linux and macOS)
curl -fsSL https://club.birju.dev/install.sh | bashThe script detects your OS (linux / macos) and CPU (x64 /
arm64), downloads the matching release archive, verifies its SHA-256
against the release’s SHA256SUMS.txt, and installs the binary to
~/.local/bin/club.
Options
| Flag | Env var | Description |
|---|---|---|
--version <x> | CLUB_VERSION | Install a specific release (e.g. 0.1.0) instead of the newest tag. |
--install-dir <path> | — | Install to a different directory. Default ~/.local/bin. |
--repo <owner/name> | CLUB_REPO | Pull from a fork or mirror. Default BirjuVachhani/club. |
Examples:
# Pin to a specific versioncurl -fsSL https://club.birju.dev/install.sh \ | bash -s -- --version 0.1.0
# Install into /usr/local/bin instead of ~/.local/bincurl -fsSL https://club.birju.dev/install.sh \ | sudo bash -s -- --install-dir /usr/local/binPATH
If the chosen install directory is not on your PATH, the script
prints the exact line to add to your shell’s rc file. For the default
~/.local/bin:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrcecho 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrcfish_add_path "$HOME/.local/bin"Manual download
Every tagged release attaches one archive per supported target plus a
single SHA256SUMS.txt:
| Target | Archive |
|---|---|
| Linux x86_64 | club-cli-<version>-linux-x64.tar.gz |
| Linux arm64 | club-cli-<version>-linux-arm64.tar.gz |
| macOS Intel | club-cli-<version>-macos-x64.tar.gz |
| macOS Apple silicon | club-cli-<version>-macos-arm64.tar.gz |
| Windows x86_64 | club-cli-<version>-windows-x64.zip |
-
Grab the archive and the checksums file from the latest release:
Terminal window VERSION=0.1.0TARGET=linux-x64 # or macos-arm64, etc.curl -fLO "https://github.com/BirjuVachhani/club/releases/download/${VERSION}/club-cli-${VERSION}-${TARGET}.tar.gz"curl -fLO "https://github.com/BirjuVachhani/club/releases/download/${VERSION}/SHA256SUMS.txt" -
Verify the archive:
Terminal window shasum -a 256 -c SHA256SUMS.txt --ignore-missingYou should see
club-cli-${VERSION}-${TARGET}.tar.gz: OK. -
Extract and install:
Terminal window tar -xzf "club-cli-${VERSION}-${TARGET}.tar.gz"install -m 0755 "club-cli-${VERSION}-${TARGET}/bin/club" ~/.local/bin/club
-
Download the
.zipandSHA256SUMS.txtfrom the latest release page. -
Verify the archive in PowerShell:
Terminal window Get-FileHash .\club-cli-0.1.0-windows-x64.zip -Algorithm SHA256Compare the hash against the line for your file in
SHA256SUMS.txt. -
Extract the zip. Move
club-cli-<version>-windows-x64\bin\club.exesomewhere on yourPATH(for example,%USERPROFILE%\bin), or add the extractedbindirectory toPATHdirectly.
From source
Useful when you’re hacking on the CLI itself or want to run an unreleased build. Requires the Dart SDK 3.11 or newer.
git clone https://github.com/BirjuVachhani/club.gitcd clubdart pub getdart pub global activate --source path packages/club_cliMake sure $HOME/.pub-cache/bin is on your PATH:
export PATH="$PATH:$HOME/.pub-cache/bin"Verifying the install
club --versionIf you see the version printed, you’re done. Continue to Login & Setup to authenticate against your club server.
Upgrading
Re-running the install script replaces the existing binary:
curl -fsSL https://club.birju.dev/install.sh | bashFor manual installs, repeat the download step with the new version.
Uninstalling
Use the uninstall script that matches how you installed:
curl -fsSL https://club.birju.dev/uninstall.sh | bashThis removes the binary at ~/.local/bin/club and, if present, the
bundle directory at ~/.local/share/club. Stored credentials at
~/.config/club are kept by default — pass --purge to delete them too.
Options
| Flag | Description |
|---|---|
--purge | Also delete ~/.config/club (credentials + config). |
--install-dir <path> | Look for the binary here instead of ~/.local/bin. Must match the value you passed to install.sh. |
--dry-run | Print what would be removed without deleting anything. |
Examples:
# Preview the removalcurl -fsSL https://club.birju.dev/uninstall.sh | bash -s -- --dry-run
# Remove binary + credentialscurl -fsSL https://club.birju.dev/uninstall.sh | bash -s -- --purge
# Uninstall from a custom locationcurl -fsSL https://club.birju.dev/uninstall.sh \ | sudo bash -s -- --install-dir /usr/local/binHomebrew
If you installed via Homebrew, uninstall with brew instead — the script only knows about install.sh layouts:
brew uninstall clubbrew untap birjuvachhani/clubManual
If you’d rather do it by hand:
rm -f ~/.local/bin/clubrm -rf ~/.local/share/club # only if the bundle layout was usedrm -rf ~/.config/club # credentials — only if you want a clean slate