资讯动态

nvm 安装 node.js

发布时间:2026/8/6 19:29:11 来源:尧图企业网站定制
# Download and install nvm:curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.6/install.sh | bash# in lieu of restarting the shell\. $HOME/.nvm/nvm.sh以上部分换成如下内容 brew install nvm# Download and install Node.js:nvm install 24# Verify the Node.js version:node -v # Should print v24.19.0.》〉 nvm install 24Downloading and installing node v24.19.0...Downloading https://nodejs.org/dist/v24.19.0/node-v24.19.0-darwin-arm64.tar.xz...########################################################## 100.0%Computing checksum with sha256sumChecksums matched!Now using node v24.19.0 (npm v11.17.0)Creating default alias: default - 24 (- v24.19.0 *)# Verify npm version:npm -v # Should print 11.17.0.--Node.js — Download Node.js®

读完文章,也想定制专属网站?

尧图设计师 24 小时内与您沟通定制方案

免费获取报价