Skip to main content

Configuration Commands

Manage global configuration, API keys, and settings for your Coconut installation.

nut config set-key

Set an API key for a provider.
This command prompts you to enter an API key for AI providers like OpenAI, Anthropic, or others. Example:
You’ll be prompted to select a provider and enter the API key securely. The key is stored locally and never sent to Coconut servers.

nut config list-keys

List all configured API keys.
Aliases: list-keys, ls This displays which providers have API keys configured (without revealing the actual keys). Example:

nut config remove-key

Remove an API key for a specific provider.
Aliases: remove-key, rm Arguments:
  • provider - The provider name (e.g., openai, anthropic)
Example:

nut config setup

Show setup guide for getting API keys.
This command displays helpful information about where to obtain API keys from various providers. Example:

nut config set-default

Set default configuration values.
Arguments:
  • key - Configuration key to set
  • value - Value to assign
Example:

nut config set-profile

Set Coconut profile information.
Aliases: set-profile, profile Configure your profile settings for Coconut, including display name and preferences. Example:

nut config show

Show current configuration.
This displays all current configuration settings, including defaults and profile information. Example:
API keys are never displayed in plain text. Only provider names are shown.