docs/docs/en/api/cli/config/set.md
Set a CLI configuration item. See nb config for supported configuration keys.
nb config set <key> <value>
| Parameter | Type | Description |
|---|---|---|
<key> | string | Configuration item name. See nb config for supported values |
<value> | string | Configuration value, cannot be empty |
nb config set locale zh-CN
nb config set update.policy auto
nb config set license.pkg-url https://pkg.nocobase.com/
nb config set docker.network nocobase
nb config set docker.container-prefix nb
nb config set nb-image-registry dockerhub
nb config set nb-image-registry aliyun
nb config set nb-image-variant full
nb config set nb-image-variant full-no-nginx
nb config set bin.docker /usr/local/bin/docker
nb config set bin.caddy /opt/homebrew/bin/caddy
nb config set bin.git /usr/bin/git
nb config set bin.nginx /usr/sbin/nginx
nb config set bin.pnpm /usr/local/bin/pnpm
nb config set proxy.nb-cli-root /workspace
nb config set proxy.upstream-host host.docker.internal
nb config set proxy.nginx-driver docker
nb config set proxy.caddy-driver local
nb config set bin.yarn yarn
update.policy supports prompt, auto, and off, and the default value is promptnb-image-registry supports dockerhub and aliyun, and the default value is dockerhubnb-image-variant supports standard, no-nginx, full, and full-no-nginx, and the default value is full