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

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
 
  [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
  
 
+
== Related ==
 
  [[brew install nvm]]
 
  [[brew install nvm]]
  

Revision as of 09:34, 30 June 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"

Related

brew install nvm

See also

Advertising: