nvm --version: v0.40.3
$SHELL: /usr/bin/zsh
$SHLVL: 1
${NVM_DIR}: '${HOME}/.nvm'
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: 'http://npm.taobao.org/mirrors/node'
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'zsh 5.9 (x86_64-debian-linux-gnu)'
uname -a: 'Linux 6.12.20-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.12.20-1kali1 (2025-03-26) x86_64 GNU/Linux'
checksum binary: 'sha256sum'
OS version: Kali GNU/Linux Rolling
awk: /usr/bin/awk, GNU Awk 5.2.1, API 3.2, PMA Avon 8-g1, (GNU MPFR 4.2.2, GNU MP 6.3.0)
curl: /usr/bin/curl, curl 8.13.0 (x86_64-pc-linux-gnu) libcurl/8.13.0 GnuTLS/3.8.9 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.2 libssh2/1.11.1 nghttp2/1.64.0 ngtcp2/1.11.0 nghttp3/1.8.0 librtmp/2.3 OpenLDAP/2.6.9
wget: /usr/bin/wget, GNU Wget 1.25.0 在 linux-gnu 上编译。
git: /usr/bin/git, git version 2.47.2
ls: 无法访问 'grep:': 没有那个文件或目录
grep: grep: aliased to grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox} (grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}), grep (GNU grep) 3.11
sed: /usr/bin/sed, sed (GNU sed) 4.9
cut: /usr/bin/cut, cut (GNU coreutils) 9.7
basename: /usr/bin/basename, basename (GNU coreutils) 9.7
ls: 无法访问 'rm:': 没有那个文件或目录
rm: rm: aliased to rm -i (rm -i), rm (GNU coreutils) 9.7
mkdir: /usr/bin/mkdir, mkdir (GNU coreutils) 9.7
xargs: /usr/bin/xargs, xargs (GNU findutils) 4.10.0
nvm current: v16.20.0
which node: ${NVM_DIR}/versions/node/v16.20.0/bin/node
which iojs: iojs not found
which npm: ${NVM_DIR}/versions/node/v16.20.0/bin/npm
npm config get prefix: ${NVM_DIR}/versions/node/v16.20.0
npm root -g: ${NVM_DIR}/versions/node/v16.20.0/lib/node_modules
Operating system and version:
nvm debugoutput:Details
nvm lsoutput:Details
How did you install
nvm?What steps did you perform?
What happened?
can't install node
What did you expect to happen?
Is there anything in any of your profile files that modifies the
PATH?If you are having installation issues, or getting "N/A", what does
curl -I --compressed -v https://nodejs.org/dist/print out?Details