How to install nvm on mac

    To install nvm on mac follow these steps
    git clone git://github.com/creationix/nvm.git ~/.nvm

    printf "\n\n# NVM\nif [ -s ~/.nvm/nvm.sh ]; then\n\tNVM_DIR=~/.nvm\n\tsource ~/.nvm/nvm.sh\nfi" >> ~/.bashrc

    NVM_DIR=~/.nvm

    source ~/.nvm/nvm.sh
    0