Skip to main content

Configuration

BlocPad CLI stores local configuration in a per-user directory.

Config directory

  • macOS: ~/Library/Application Support/blocpad/
  • Linux: ~/.config/blocpad/ (or $XDG_CONFIG_HOME/blocpad/)
  • Windows: %APPDATA%\\blocpad\\ (or %LOCALAPPDATA%\\blocpad\\)
Override the config directory (useful for testing):

Files

  • config.json: base URL, auth token, and active context (project/task)
  • proposals.json: local proposals cache (used by some workflows)

config.json schema

Resolution order

For most settings, the CLI resolves values in this order:
  1. CLI flags (example: --token)
  2. Environment variables (example: BLOCPAD_TOKEN)
  3. config.json
  4. Built-in defaults (if applicable)
If you are seeing unexpected behavior, run blocpad auth status --json to confirm what the CLI is using.