Skip to main content

Installation

Get the CoinPaprika CLI installed on your system in under a minute.

Quick install

The fastest way to install is using the official install script, which automatically detects your platform and downloads the latest release:
curl -sSL https://raw.githubusercontent.com/coinpaprika/coinpaprika-cli/main/install.sh | sh
This script works on Linux, macOS, and Windows (Git Bash/WSL). It installs to ~/.local/bin by default.

What the installer does

1

Detect your platform

The script identifies your operating system (Linux, macOS, Windows) and architecture (x86_64, aarch64).
2

Download the latest release

It fetches the latest binary from the GitHub releases page matching your platform.
3

Install to your system

The binary is extracted and moved to ~/.local/bin (or /usr/local/bin with sudo if needed).
4

Verify PATH configuration

The installer checks if the installation directory is in your PATH and provides instructions if not.

Custom installation directory

You can override the default installation directory by setting the COINPAPRIKA_INSTALL_DIR environment variable:
export COINPAPRIKA_INSTALL_DIR=/usr/local/bin
curl -sSL https://raw.githubusercontent.com/coinpaprika/coinpaprika-cli/main/install.sh | sh

Manual installation

If you prefer to install manually or the script doesn’t work for your system:
1

Download the release

Visit the releases page and download the archive for your platform:
  • Linux x86_64: coinpaprika-cli-vX.X.X-linux-x86_64.tar.gz
  • Linux aarch64: coinpaprika-cli-vX.X.X-linux-aarch64.tar.gz
  • macOS x86_64: coinpaprika-cli-vX.X.X-darwin-x86_64.tar.gz
  • macOS aarch64: coinpaprika-cli-vX.X.X-darwin-aarch64.tar.gz
  • Windows: coinpaprika-cli-vX.X.X-windows-x86_64.zip
2

Extract the archive

tar xzf coinpaprika-cli-*.tar.gz
3

Move to PATH

Move the coinpaprika-cli binary to a directory in your PATH:
mv coinpaprika-cli ~/.local/bin/
chmod +x ~/.local/bin/coinpaprika-cli
4

Add to PATH if needed

If ~/.local/bin isn’t in your PATH, add this to your shell profile (~/.bashrc, ~/.zshrc, etc.):
export PATH="$HOME/.local/bin:$PATH"
Then reload your shell:
source ~/.bashrc  # or ~/.zshrc

Verify installation

Confirm the CLI is installed correctly:
coinpaprika-cli --version
You should see output like:
coinpaprika-cli 0.1.7
Run coinpaprika-cli --help to see all available commands and options.

Build from source

If you want to build from source or contribute to development, you’ll need Rust installed:
1

Install Rust

If you don’t have Rust installed, get it from rustup.rs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
2

Clone the repository

git clone https://github.com/coinpaprika/coinpaprika-cli.git
cd coinpaprika-cli
3

Build and install

cargo install --path .
This builds an optimized binary and installs it to ~/.cargo/bin/coinpaprika-cli.
4

Verify the build

coinpaprika-cli --version

Troubleshooting

Command not found

If you see command not found: coinpaprika-cli, your installation directory isn’t in your PATH. Add it to your shell profile:
export PATH="$HOME/.local/bin:$PATH"

Permission denied

If you get permission errors during installation, either:
  • Use the default ~/.local/bin directory (no sudo needed)
  • Or install to /usr/local/bin with sudo:
sudo curl -sSL https://raw.githubusercontent.com/coinpaprika/coinpaprika-cli/main/install.sh | sh

Unsupported platform

The installer supports Linux, macOS, and Windows on x86_64 and aarch64. If your platform isn’t supported, try building from source.

Next steps

Quick start guide

Learn the essential commands and run your first queries

Build docs developers (and LLMs) love