nb config
Manage default CLI configuration values. The currently supported keys are mainly grouped like this:
- CLI itself:
locale,update.policy,license.pkg-url - Docker runtime:
docker.network,docker.container-prefix - External executables:
bin.docker,bin.caddy,bin.git,bin.nginx,bin.yarn - Proxy generation:
proxy.nb-cli-root,proxy.upstream-host,proxy.nginx-driver,proxy.caddy-driver
Most projects only need a few of these keys. In practice, the most common ones are:
update.policydocker.networkdocker.container-prefixbin.nginxorbin.caddyproxy.nginx-driverorproxy.caddy-driver
Common configuration keys
Usage
Subcommands
Examples
Notes
bin.nginxandbin.caddyonly affect thelocaldriver fornb proxy nginxandnb proxy caddyproxy.nginx-driverandproxy.caddy-driverstore the default driver used by each providerproxy.nb-cli-rootandproxy.upstream-hostare advanced proxy overrides. Most CLI-managedlocalordockerenvs can use the defaults directly- If you only want to switch the active proxy driver, using
nb proxy nginx useornb proxy caddy useis usually clearer than setting the config key manually

