nb self update

当当前 CLI 由标准全局 npm 安装管理时,更新已安装的 NocoBase CLI。

用法

nb self update [flags]

参数

参数类型说明
--channelstring更新到的发布 channel,默认 auto;可选 autolatestbetaalpha
--yes, -yboolean跳过更新确认
--jsonboolean输出 JSON
--verboseboolean显示详细更新输出

示例

nb self update
nb self update --yes
nb self update --channel alpha --json

相关命令