Linux安装Nodejs环境

来源:https://nodejs.org/en/download

# Download and install fnm:
curl -o- https://fnm.vercel.app/install | bash

# Download and install Node.js:
fnm install 22

# Verify the Node.js version:
node -v # Should print "v22.15.0".

# Verify npm version:
npm -v # Should print "10.9.2".
posted @ 2025-04-28 22:00  ShengOasis  阅读(43)  评论(0)    收藏  举报