Difference between revisions of "/usr/bin/env: ‘node’: No such file or directory"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
 
  [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
 
  [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
 
  [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
 +
 +
 +
[[brew install nvm]]
  
 
== See also ==
 
== See also ==

Revision as of 11:14, 8 March 2023

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


brew install nvm

See also

Advertising: