LoginSignup
1
1

More than 5 years have passed since last update.

ndenvでバージョンがうまく設定されない場合の解決方法

Last updated at Posted at 2019-01-09

概要

brewでnodeが入っていればアンインストールする

おそらくはだいたいこれで直る。

brewでインストールされているものの確認
brew list
nodeをアンインストール
brew uninstall node

ndenvのPATHがなければシェルに記述し再起動

anyenvからインストールすると忘れがち。

.bash_profileなり.zshrcなりに記述する。

PATHの設定
export PATH="$HOME/.ndenv/bin:$PATH"
eval "$(ndenv init -)"
設定を反映しシェルを再起動
exec $SHELL -l
1
1
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
1
1