DEV Community

Discussion on: Tips and tricks to set up your Apple M1 for development

Collapse
 
christopher_vivona_910575 profile image
Christopher Vivona

This is what I keep getting when I run it

curl -o- raw.githubusercontent.com/nvm-sh/n... | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13527 100 13527 0 0 69508 0 --:--:-- --:--:-- --:--:-- 73516
=> nvm is already installed in /Users/christophervivona/.nvm, trying to update using git
=> => Compressing and cleaning up git repository

=> Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.
=> Create one of them and run this script again
OR
=> Append the following lines to the correct file yourself:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm

=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nv