Skip to content

Configuration

Corral stores its settings in ~/.corral/config.json. You can view and change them from the CLI or the macOS app.

App Settings

SettingKeyDefaultDescription
TLDtldtestTop-level domain for local routing
Auto-startauto-startfalseStart infrastructure and flagged projects on launch
Default Node versiondefault-node-version(none)Fallback Node.js version when no project-specific version is set
Port range startport-range-start8787First port in the allocation pool (100 ports)

Viewing Settings

sh
corral settings show

Changing Settings

sh
corral settings set tld localhost
corral settings set auto-start true
corral settings set default-node-version 22
corral settings set port-range-start 9000

Clear optional settings with none:

sh
corral settings set default-node-version none

Boolean values accept: true/false, yes/no, 1/0, on/off.

In the macOS app, settings are available under the Settings panel in the sidebar. See macOS App Settings for details.

Data Directory

All Corral data lives in ~/.corral/:

PathContents
config.jsonApp-wide settings
projects.jsonRegistered projects and their settings
node/v{version}/Installed Node.js versions
wrangler/v{version}/Vendored Wrangler installations
caddy/Caddy configuration files
dnsmasq/dnsmasq configuration files
logs/Persisted log files (per project)
bin/Shell shims for node, npm, npx

Environment Variable

Override the data directory location:

sh
export CORRAL_DATA_DIR=/path/to/custom/dir
corral status

Or pass it per command:

sh
corral --data-dir /path/to/custom/dir status

This affects where Corral reads and writes all data — settings, projects, Node.js installations, logs, and infrastructure configuration.