#author("2022-06-15T08:29:57+00:00","default:src128","src128")
&tag(Ubuntu2004/Node.js);
*目次 [#w9474e14]
#contents
*関連ページ [#rf050dd1]
*参考情報 [#gaf4a73d]

*最新版のNode.jsを使う [#f080e1ce]
-標準はv10.0?
-[[Ubuntu 20.04にNode.jsをインストールする方法 | DigitalOcean:https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04-ja]]に従い最新版をインストールする。
-いくつかあるがnodesource PPAを使う方法を採用した。
#pre{{
cd ~
curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
nano nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install nodejs
node -v
}}
-これでv16がインストールされれば成功。

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS