nvm on mac for fish users

Joshua Crass
3 min readJun 22, 2018

Introduction

Combining nvm with fish shell can be tricky. Both are powerful on their own, but using them together isn’t straightforward. If you’re here, you’re looking for a solution. Let’s get nvm up and running in fish.

Watch the video tutorial here

Installation

Installing or upgrading brew and installing nvm

Install brew (if not already installed):

/bin/bash -c “(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Upgrade brew (if already installed):

brew upgrade

Install NVM using brew

brew install nvm

nvm via Homebrew is unsupported by them and you should check any
problems against the standard nvm install method prior to reporting.

After the brew installation of nvm, you might receive the above message along with other instructions. Because we are using Fish shell, these additional instructions might not be applicable. Let's move on and continue with the setup.

Creating the nvm Directory

Now, create a new nvm directory in your home directory (where versions and aliases will…

--

--