1. 下載 Node.js
2. 安裝 Node.js$sudo apt-get install curl $curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
3. 檢查版本$sudo apt-get install -y nodejs
參考文章:$node -v
How to Install Latest Node.js and NPM on Ubuntu with PPA
NodeSource Node.js Binary Distributions