CLI Configuration
Set api_url, timeout, format and debug per profile, override them with IVYBLOOM_* environment variables or flags, and register a BYOK provider key.
This page shows how to customize the ivybloom CLI's behavior, output formats, profiles, themes, and default settings. Reach for it when you want per-environment profiles, machine-readable output for scripting, or your own AI keys via BYOK. Your configuration can sync with your platform profile, so the same settings follow you between the CLI and the web app. For the broader command set, see the CLI overview.
Difficulty
Configuration
Customize CLI behavior, output formats, and default settings.
Configuration Commands
View Current Settings
List All Options
Get a Specific Setting
Set a Value
Reset to Defaults
View JSON Schema
Shows the JSON schema of all available configuration keys, types, and defaults.
Validate Configuration
Configuration Options
Core Settings
| Key | Default | Description |
|---|---|---|
api_url | Production URL | API endpoint URL |
timeout | 30 | Request timeout in seconds |
format | table | Default output format (table, json, csv, yaml) |
debug | false | Enable debug mode |
Profile Display
| Key | Default | Description |
|---|---|---|
profile_display.show_org_name | true | Show organization name |
profile_display.show_tier_badge | true | Show tier badge |
Tier Settings
| Key | Default | Description |
|---|---|---|
tier_settings.show_tier_warnings | true | Show tier-related warnings |
Session Preferences
| Key | Default | Description |
|---|---|---|
session_preferences.session_timeout_minutes | 60 | Session timeout |
Sync with Backend
Synchronize your local CLI configuration with your profile settings:
Export and Import
Export Configuration
Import Configuration
Example exported file:
Use export/import to share configuration across machines or back up before making changes.
Configuration File Locations
| Path | Purpose |
|---|---|
~/.config/ivybloom/default.json | Config for the default profile; each profile is <profile>.json |
~/.config/ivybloom/cli_history.json | Command history |
~/.config/ivybloom/diagnostics.json | Last diagnostics report |
~/.config/ivybloom/ui_settings.json | TUI settings |
~/.config/ivybloom/error.log | Error log |
.ivybloom/project.json | Project-local settings (in a linked project's root) |
Set IVYBLOOM_CONFIG_DIR to use a different directory.
View file location:
Example config file:
Environment Variables
Override configuration with environment variables:
| Variable | Config Key | Description |
|---|---|---|
IVYBLOOM_API_KEY | - | API key for authentication |
IVYBLOOM_API_URL | api_url | API endpoint URL |
IVYBLOOM_TOKEN | - | Access token for authentication |
IVYBLOOM_DEBUG | debug | Enable debug mode (1 or true) |
IVYBLOOM_CONFIG_DIR | - | Config directory (default ~/.config/ivybloom) |
IVYBLOOM_SCRIPT_MODE | - | Non-interactive output, no spinners (set to 1) |
NO_COLOR | - | Disable colors (set to 1) |
Example:
CI/CD Best Practice
Use environment variables for API keys in CI/CD pipelines rather than committing them to config files.
Precedence Order
Configuration values are resolved in this order (highest to lowest):
- Command-line flags (
--format json) - Environment variables (
IVYBLOOM_API_URL) - Project settings (
.ivybloom/project.jsonin a linked project) - Profile config (
~/.config/ivybloom/<profile>.json) - Default values
Profiles
Use different profiles for different environments:
The profile comes from the --profile flag only; there is no profile environment variable.
AI Models
List Available Models
Model Pricing
Model pricing is documented once, in plans and tiers.
Refresh Model List
Clear Model Cache
BYOK (Bring Your Own Key)
Register a provider key of your own. Model calls that run on it skip the platform markup; they are still metered in research credits, at the provider's cost.
Check BYOK Status
Add Your API Key
Remove BYOK Session
Themes
List Available Themes
Set Theme
config theme set currently saves the theme name into the format key, which changes your default output format. Until that is fixed, set the TUI theme with /appearance, and restore the output format with ivybloom config set format table.
Preview Theme
Onboarding
Check Onboarding Status
Mark Onboarding Complete
Reset Onboarding
Read next
- API Keys - Set up authentication
- Agent Mode - Output format configuration for CI/CD
- Commands Reference - Full command documentation
- FAQ - Common questions and answers
Was this page helpful?