0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

nvmのデフォルトをltsに変える

Last updated at Posted at 2022-06-06

いつも忘れてしまうのでメモ。

For LTS(長期サポート版)

デフォルトをltsにする
nvm alias default lts/*

ついでによく使うコマンドを載せておきます。

ltsの最新版をインストールする
nvm install lts/*
最新のltsを使う
nvm use lts/*

For Stable(安定版)

デフォルトをstableにする
nvm alias default stable

ついでに

stabeをインストールする
nvm install stable
stableをインストールする
nvm use stable
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?