LoginSignup
5
3

More than 3 years have passed since last update.

brewで入れたnodenvをfish shellで使う

Posted at

brewでnodenvをインストールします。

brew install nodenv

~/.config/fish/config.fish に以下を追記します。

eval (nodenv init - | source)

※fish shellでは eval "$(nodenv init -)" を使えないため注意です。

最後に以下を実行し問題ないことを確認します。

$ curl -fsSL https://github.com/nodenv/nodenv-installer/raw/master/bin/nodenv-doctor | bash

参考にしたページ

5
3
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
5
3