Skip to content

Getting Started

Terminal window
curl -fsSL https://cli.craftybase.dev/install | bash

This downloads the right binary for your OS/architecture, verifies its checksum, and installs craftybase to /usr/local/bin (or ~/.local/bin). Homebrew (brew install craftybase/tap/craftybase) and go install github.com/craftybase/craftybase-cli/cmd/craftybase@latest also work.

Terminal window
craftybase auth login

Paste your Craftybase API key when prompted (input is hidden). Credentials are saved to ~/.craftybase/config.toml. See Authentication.

Terminal window
craftybase materials list

Add --json for the raw API envelope or --ndjson to stream every page. See Output Formats.