Documentation Index
Fetch the complete documentation index at: https://mintlify.com/spiceai/spiceai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Spice provides a command-line interface (CLI) and runtime that can be installed on macOS, Linux, and Windows. The Spice CLI (spice) is used to initialize apps, manage datasets, and interact with the runtime. The Spice runtime (spiced) is the core engine that executes queries, manages data acceleration, and serves APIs.
Quick Install
Platform-Specific Installation
macOS and Linux
Using the install script
The recommended way to install Spice on macOS and Linux is using the install script:- Download the latest release for your platform (macOS or Linux)
- Install the
spiceCLI to$HOME/.spice/bin - Automatically add the Spice CLI to your PATH in your shell profile
The installer supports bash, zsh, fish, ksh, and csh shells. It will detect your shell and update the appropriate profile file.
Using Homebrew
Alternatively, you can install Spice using Homebrew:Manual PATH Configuration
If the installer doesn’t automatically add Spice to your PATH, add the following to your shell profile:Windows
Using PowerShell
Install Spice on Windows using PowerShell:- Download the latest Windows release (x86_64)
- Install the
spice.exeCLI to$HOME\.spice\bin - Automatically add the Spice CLI directory to your user PATH
You may need to restart your terminal or PowerShell session for the PATH changes to take effect.
Verifying the Installation
After installation, verify that Spice is available:$HOME\.spice\bin to your PATH.Docker Installation
Spice is available as a Docker image for containerized deployments:The Docker image exposes:
- Port 8090: HTTP API
- Port 50051: Arrow Flight API
- Port 9090: Metrics
Kubernetes Installation
Deploy Spice to Kubernetes using Helm:Verifying Installation
After installation, verify that Spice is working correctly:Environment Variables
You can customize the installation using environment variables:| Variable | Description | Default |
|---|---|---|
SPICE_CLI_INSTALL_DIR | Installation directory for the CLI | $HOME/.spice/bin |
USE_SUDO | Use sudo for installation (Linux) | false |
GITHUB_TOKEN | GitHub token for API access (optional) | None |
Example: Custom Installation Directory
Upgrading Spice
To upgrade to the latest version of Spice, simply re-run the installation command:Uninstalling Spice
To uninstall Spice:Remove PATH configuration
Edit your shell profile (e.g.,
~/.bash_profile, ~/.zprofile) and remove the line that adds Spice to your PATH:Troubleshooting
Command not found after installation
If you see “command not found” after installation:- Restart your terminal or shell session
- Verify the PATH was updated in your shell profile
- Manually source your shell profile:
source ~/.bash_profile(or appropriate file) - Check that the binary exists:
ls -la $HOME/.spice/bin/spice
Permission denied errors
If you encounter permission errors during installation:- Linux: The installer will automatically use
sudoif needed - macOS: Ensure you have write permissions to
$HOME/.spice/bin - Windows: Run PowerShell as Administrator
Download failures
If the download fails:- Check your internet connection
- Verify you can access
https://github.com - Try setting
GITHUB_TOKENif you’re hitting rate limits - Download the release manually from GitHub Releases
Next Steps
Quickstart
Get started with your first Spice app
Documentation
Read the full documentation
System Requirements
Learn about system requirements and supported platforms
GitHub
View the source code and contribute