Posted 2024-03-09Updated 2024-03-15OS / Ubuntua few seconds read (About 48 words)Ubuntu升级nodejs查看当前nodejs版本 1node -v 安装node版本管理工具 1sudo npm install n -g 查看node新的稳定版本 1sudo n stable 更新当前node版本 1hash -r