LoginSignup
0
0

More than 1 year has passed since last update.

Mac で nodebrew のバージョンが何故か反映されない

Last updated at Posted at 2020-02-16

なぜか2つのパスに nodebrew がインストールされてしまっていた様子

  • /usr/local/var/nodebrew/
  • $HOME/.nodebrew/

強制的に /usr/local/var/nodebrew/current を削除したところ反映されるようになったが、良い子はマネしてはいけないかもしれない。

node -v
v13.7.0

which node
/usr/local/var/nodebrew/current/bin/node

rm -rf /usr/local/var/nodebrew/current

nodebrew ls
v13.8.0

current: v13.8.0
Fetching: https://nodejs.org/dist/v13.8.0/node-v13.8.0-darwin-x64.tar.gz
######################################################################################################################################## 100.0%
Installed successfully

nodebrew install v13.8.0

nodebrew use v13.8.0
use v13.8.0

node -v
v13.8.0

which node
/Users/yumainaura/.nodebrew/current/bin/node

Original by Github issue

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

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