Installation
Install curl-runner on macOS, Linux or Windows with the install script, Homebrew, npm, cargo or a pre-built binary, then verify the install.
Prerequisites
None. curl-runner is a single native binary (libcurl is linked statically). It needs no Bun, Node.js or curl installation. HTTPS uses your system CA certificates.
# Verify the installation
curl-runner --versionQuick Install
The fastest way to install curl-runner. It downloads the latest pre-compiled binary, verifies the checksum, and adds it to your PATH.
Linux / macOS (recommended)
curl -fsSL https://www.curl-runner.com/install.sh | bashWindows (PowerShell)
irm https://www.curl-runner.com/install.ps1 | iexNo prerequisites
The installer downloads a standalone native binary. No runtime dependencies are required.
Package Managers
Homebrew (macOS, Linux)
Install the prebuilt binary from the alexvcasillas/tap tap. Homebrew asks you to trust third-party taps before it installs from them, so trust it first. curl-runner upgrade runs brew upgrade curl-runner for you.
brew trust alexvcasillas/tap
brew install alexvcasillas/tap/curl-runner
# Upgrade later
brew upgrade curl-runnerIf brew upgrade says the tap is untrusted, run brew trust alexvcasillas/tap once.
npm, pnpm, yarn and bun
The npm package installs the prebuilt native binary for your platform. The package manager is only the delivery mechanism, so it works with npm, pnpm, yarn and bun alike.
npm i -g @curl-runner/cli
# or
pnpm add -g @curl-runner/cli
yarn global add @curl-runner/cli
bun add -g @curl-runner/cliPrerequisites
Linux / macOS: none. Neither Node.js nor Bun is needed to run the installed binary.
Windows: the package manager command runs through a small sh launcher, so sh must be on your PATH (for example Git for Windows with its Unix tools on PATH, MSYS2 or Cygwin). Otherwise, install with PowerShell instead:
irm https://www.curl-runner.com/install.ps1 | iexCargo (crates.io)
Build from source with Rust. This compiles libcurl and the TLS library, so it needs a C compiler and cmake. curl-runner upgrade reruns the same command.
cargo install curl-runner --lockedBinary Downloads
Standalone executables with no dependencies are attached to every release. Pick your platform on the downloads page, or from GitHub Releases.
Installation Instructions
Linux / macOS
# Download the binary (replace VERSION with the actual version, and linux-x64
# with darwin-arm64, darwin-x64 or linux-arm64 for your platform)
curl -LO https://github.com/alexvcasillas/curl-runner/releases/latest/download/curl-runner-cli-VERSION-linux-x64.tar.gz
# Extract the archive
tar -xzf curl-runner-cli-VERSION-linux-x64.tar.gz
# Rename and make executable
mv curl-runner-linux-x64 curl-runner
chmod +x curl-runner
# Move to PATH (optional)
sudo mv curl-runner /usr/local/bin/
# Verify installation
curl-runner --versionWindows (PowerShell)
# Download the binary (replace VERSION with the actual version)
Invoke-WebRequest -Uri "https://github.com/alexvcasillas/curl-runner/releases/latest/download/curl-runner-cli-VERSION-windows-x64.zip" -OutFile "curl-runner.zip"
# Extract the archive
Expand-Archive -Path curl-runner.zip -DestinationPath .
# Rename the binary
Rename-Item curl-runner-windows-x64.exe curl-runner.exe
# Add to PATH (optional - run as Administrator)
$env:PATH += ";$PWD"
# Verify installation
curl-runner --versionVerify Checksum (recommended)
Always verify the download integrity using SHA256 checksums.
Linux:
# Download checksums file
curl -LO https://github.com/alexvcasillas/curl-runner/releases/latest/download/SHA256SUMS.txt
# Verify the download
sha256sum -c SHA256SUMS.txt --ignore-missingmacOS:
# Download checksums file
curl -LO https://github.com/alexvcasillas/curl-runner/releases/latest/download/SHA256SUMS.txt
# Verify the download
shasum -a 256 -c SHA256SUMS.txtWindows (PowerShell):
# Download checksums file
Invoke-WebRequest -Uri "https://github.com/alexvcasillas/curl-runner/releases/latest/download/SHA256SUMS.txt" -OutFile "SHA256SUMS.txt"
# Get file hash
$hash = (Get-FileHash -Algorithm SHA256 curl-runner-cli-VERSION-windows-x64.zip).Hash
# Compare with expected hash from SHA256SUMS.txt
# (Manually compare the hash output)Verify Installation
After installation, verify that curl-runner is working correctly:
curl-runner --versionPlatform Support
- Linux: Ubuntu 20.04+, CentOS 8+, Alpine Linux
- macOS: macOS 11+ (Intel and Apple Silicon)
- Windows: Windows 10+, WSL2 supported
Troubleshooting
Command not found
If you get "curl-runner: command not found", ensure that the installation directory is in your PATH.
# Check if curl-runner is in PATH
which curl-runner
# Add to PATH if needed (replace with your installation path)
export PATH="$PATH:~/.local/bin"Permission denied
On Unix systems, you may need to make the binary executable:
chmod +x /path/to/curl-runnerNext Steps
Now that curl-runner is installed, here's how to get started.