Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sawmills.ai/llms.txt

Use this file to discover all available pages before exploring further.

This page documents the sm binary shipped by Sawmills. Every command accepts these global flags:
FlagMeaning
--jsonEmit JSON output instead of human-readable tables or prose.
--debugPrint richer debug/error output.
-h, --helpShow command help.
At the root level, sm -V and sm --version print the installed CLI version.

Install the CLI

Homebrew

This is the primary install path for macOS and Linux:
brew tap sawmills/tap https://github.com/Sawmills/homebrew-tap
brew install sawmills/tap/sm
sm --version

Uninstall the CLI

brew uninstall sm

Login and organization selection

The CLI uses a browser-based OAuth PKCE flow.
sm login
Confirm your authentication:
sm auth status
Expected output:
Checking API access...
Profile: prod
Status: Authenticated