Quantcast
Channel: Node.jsタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 9409

anyenv 経由で nodenv を導入した環境で新しい node.js を使う

$
0
0
はじめに 上記記事に体変お世話になりました。 (当記事では新しい node.js の利用にフォーカス) また、公式docはこちら 前提 any env 経由で nodenv が入っている nodenv install -l しても、欲しい最新の node.js のバージョンが出てこない 手順 anyenv-update の plugin を入れてアップデート mkdir -p $(anyenv root)/plugins git clone https://github.com/znz/anyenv-update.git $(anyenv root)/plugins/anyenv-update anyenv update nodenv install -l で新しい node.js のバージョンを確認する 対象のバージョンを install する ex. nodenv install 16.13.0 nodenv versions で install 結果を確認 nodenv global <バージョン> で切り替える ex.nodenv global 16.13.0 nodenv versions で適用結果を確認

Viewing all articles
Browse latest Browse all 9409

Trending Articles