how to install nvm in mac

Shell
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
Source

Also in Shell: