Skip to main content

Spice.ai OSS Installation

Installation options for Spice.ai OSS

For deployment options, such as to Kubernetes, see Deployment.

Install Script​

curl https://install.spiceai.org | /bin/bash

Homebrew​

brew install spiceai/spiceai/spice

Direct Download​

x86_x64 and ARM binaries for linux, Windows, and macOS are available for download from GitHub at github.com/spiceai/spiceai/releases.

Building Spice from Source​

Build prerequisites​

  1. If you don't already have it installed, install Homebrew:
# Note: Be sure to follow the steps in the Homebrew installation output to add Homebrew to your PATH.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install the Xcode Command Line tools
  xcode-select --install
  1. Install dependencies
brew install rust
brew install go
brew install cmake
brew install protobuf

Build Spice OSS​

# Clone SpiceAI OSS Repo
git clone https://github.com/spiceai/spiceai.git
cd spiceai

# Build and install OSS project in release mode
make install

# Build and install OSS project in dev mode
make install-dev

# Build and install OSS project with models
make install-with-models

# Also you can specify specific features
SPICED_CUSTOM_FEATURES="postgres sqlite" make install

# Run the following to temporarily add spice to your PATH.
# Add it to the end of your .bashrc or .zshrc to permanently add spice to your PATH.
export PATH="$PATH:$HOME/.spice/bin"