LoginSignup
0
0

More than 1 year has passed since last update.

nvmをインストールする方法【nvm/Node.js/zsh/npm】

Posted at

nvmのインストール手順(zsh)

1. nvmをインストール

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash

2. .zshrc に以下を記述して保存

.zshrc
source ~/.nvm/nvm.sh

3. nvmのインストールを確認する

nvm -v

4. nvmを使ってNode.jsのバージョン12をインストールする

nvm install v12

5. Node.jsのインストールを確認する

node -v
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