npm install -g @anthropic-ai/claude-code
npm warn Unknown user config "sass_binary_site". This will stop working in the next major version of npm.
npm error code EACCES
npm error syscall symlink
npm error path ../lib/node_modules/@anthropic-ai/claude-code/bin/claude.exe
npm error dest /usr/local/bin/claude
npm error errno -13
npm error Error: EACCES: permission denied, symlink '../lib/node_modules/@anthropic-ai/claude-code/bin/claude.exe' -> '/usr/local/bin/claude'
npm error at async symlink (node:internal/fs/promises:1005:10)
npm error at async Promise.all (index 0)
npm error at async Promise.all (index 0)
npm error at async #createBinLinks (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:396:5)
npm error at async Promise.allSettled (index 0)
npm error at async #linkAllBins (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:377:5)
npm error at async #build (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:162:7)
npm error at async Arborist.rebuild (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:62:5)
npm error at async [reifyPackages] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:325:11)
npm error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:142:5) {
npm error errno: -13,
npm error code: 'EACCES',
npm error syscall: 'symlink',
npm error path: '../lib/node_modules/@anthropic-ai/claude-code/bin/claude.exe',
npm error dest: '/usr/local/bin/claude'
npm error }
npm error
npm error The operation was rejected by your operating system.
npm error It is likely you do not have the permissions to access this file as the current user
npm error
npm error If you believe this might be a permissions issue, please double-check the
npm error permissions of the file and its containing directories, or try running
npm error the command again as root/Administrator.
npm error A complete log of this run can be found in: /Users/wangyuqiang/.npm/_logs/2026-08-17T10_55_38_747Z-debug-0.log


