Install Substreams CLI
StreamingFast Substreams CLI installation documentation
Install the substreams CLI
Homebrew installation (macOS)
brew install streamingfast/tap/substreamsDocker Alias (macOS or Linux)
alias substreams='docker run --rm -it -e="SF_API_TOKEN=$SF_API_TOKEN" ghcr.io/streamingfast/substreams'Pre-compiled binary installation (macOS or Linux)
LINK=$(curl -s https://api.github.com/repos/streamingfast/substreams/releases/latest | awk "/download.url.*$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m)/ {print \$2}" | sed 's/"//g')
curl -L $LINK | tar zxf -# Use correct binary for your platform
LINK=$(curl -s https://api.github.com/repos/streamingfast/substreams/releases/latest | awk "/download.url.*linux_$(uname -m)/ {print \$2}" | sed 's/"//g')
curl -L $LINK | tar zxf -Installation from source (Linux)
Validation of installation
Install Other Developer Dependencies (Only for Substreams Developers)
Rust installation
Buf installation
Last updated
Was this helpful?

