mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
ci(installer): add macOS install proof
This commit is contained in:
committed by
GitHub
parent
ccbf2dae17
commit
66a8ff178c
@@ -1762,6 +1762,7 @@ fix_npm_permissions() {
|
||||
npm config set prefix "$HOME/.npm-global"
|
||||
ui_warn "Avoid sudo npm i -g for future OpenClaw updates; use npm i -g openclaw@latest so npm keeps using this user prefix instead of a different global prefix."
|
||||
|
||||
# shellcheck disable=SC2016
|
||||
persist_shell_path_prepend "$HOME/.npm-global/bin" '$HOME/.npm-global/bin' || true
|
||||
|
||||
export PATH="$HOME/.npm-global/bin:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user