Skip to main content
A round green creature connected by a cable to a laptop displaying the word Install
The Sprites CLI (sprite) is available for macOS, Linux, and Windows. The easiest way to install the CLI is with our install script:
The install script automatically:
  • Detects your operating system and architecture
  • Downloads the latest release binary
  • Verifies the SHA256 checksum
  • Installs to ~/.local/bin
After installation, you may need to add ~/.local/bin to your PATH if it’s not already included. The script will provide instructions if needed.

Manual Installation

Latest CLI release: v0.0.1-rc48. For Apple Silicon/Intel or ARM64/x86-64 variants not shown, swap the architecture in the URL (arm64amd64).
Download
Verify checksum (recommended)
Extract and install

Verify Installation

You should see the help output with available commands.

Upgrading

If you installed from the direct download links, upgrade to the latest version:
To check for updates without installing:

Configuration

The CLI stores configuration in ~/.sprites/sprites.json. This includes:
  • Organization tokens
  • Current organization selection
  • Current sprite selection

Config File Location

Note: config.json is kept for backward compatibility with older clients, but current versions read/write sprites.json.

Optional: Local Directory Context

The CLI supports a .sprite file in your project directory to remember which sprite to use:
This creates a .sprite file that the CLI reads automatically. Add .sprite to your .gitignore as it’s user-specific.

Optional: Install Shell Completions

The CLI provides completion scripts for various shells. Run sprite help completion for more information.

bash

Install the bash completion script by adding it to your .bashrc:

zsh

If you haven’t enabled completions in your .zshrc yet:
Install the zsh completion script by adding it to your local functions:

fish

Install the fish completion script:

PowerShell

Install the PowerShell completion script by appending it to your profile:

Troubleshooting

Permission Denied

If you get a permission denied error on macOS or Linux:

Command Not Found

Ensure the binary is in your PATH:

macOS Security Warning

On macOS, you may see a security warning when first running the CLI. To allow it:
  1. Open System Preferences > Security & Privacy
  2. Click “Allow Anyway” next to the message about sprite
  3. Run sprite again and click “Open”
Or use the command line:

Next Steps

Authentication

Set up your Fly.io account and manage tokens

Commands Reference

Full CLI documentation and examples