Getting Started
Install
Section titled “Install”curl -fsSL https://cli.stocksmith.dev/install | bashThis downloads the right binary for your OS/architecture, verifies its checksum, and installs stocksmith to /usr/local/bin (or ~/.local/bin). Homebrew (brew install craftybase/tap/stocksmith) and go install github.com/craftybase/stocksmith-cli/cmd/stocksmith@latest also work.
Authenticate
Section titled “Authenticate”stocksmith auth loginPaste your Stocksmith API key when prompted (input is hidden). Credentials are saved to ~/.stocksmith/config.toml. See Authentication.
First command
Section titled “First command”stocksmith materials listAdd --json for the raw API envelope or --ndjson to stream every page. See Output Formats.