Skip to content

CLI Installation

Quick Install

bash
curl -fsSL https://tradectl.com/install.sh | sh

This detects your platform and installs the tradectl binary to ~/.tradectl/bin/.

Manual Download

Download the binary for your platform from GitHub Releases:

PlatformArchitectureBinary
Linuxx86_64tradectl-linux-x86_64
Linuxaarch64tradectl-linux-aarch64
macOSIntel (x86_64)tradectl-darwin-x86_64
macOSApple Silicontradectl-darwin-aarch64

After downloading, make it executable and move it to your PATH:

bash
chmod +x tradectl-*
mv tradectl-* ~/.tradectl/bin/tradectl

PATH Setup

Add ~/.tradectl/bin to your PATH:

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

Verify

bash
tradectl --version

Update

bash
tradectl update

Or re-run the install script:

bash
curl -fsSL https://tradectl.com/install.sh | sh

Environment Variables

VariableDefaultDescription
TRADECTL_API_URLhttps://tradectl.comAPI server URL
TRADECTL_DOWNLOAD_URLGitHub Releases URLOverride binary download location

Override for local development:

bash
export TRADECTL_API_URL=http://localhost:3001

tradectl — Automate Crypto Trading