Files
Nexus/docs/changelog/2026-06-05-nx-global-cli.md
T
Nexus Deploy 646929ddff feat(deploy): register nx globally via install-nx-cli.sh
Centralize chmod and /usr/local/bin symlinks; install, upgrade, update, and every nx invocation refresh the global nx command.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 04:43:00 +08:00

490 B

2026-06-05 — nx 全局 CLI 注册

摘要

新增 deploy/install-nx-cli.sh,统一 chmod +x/usr/local/bin 符号链接;installupdateupgrade、首次 nx 均自动调用,确保 nx 全局可用。

涉及文件

  • deploy/install-nx-cli.sh(新)
  • deploy/nxdeploy/update.shdeploy/nexus-1panel.shdeploy/install-nexus-fresh.sh

服务器

cd /opt/nexus && git pull
bash deploy/install-nx-cli.sh
which nx && nx --help