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

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
 +
[[nvm install node]]
  
 
  [[export]] NVM_DIR="[[$HOME/.nvm]]"
 
  [[export]] NVM_DIR="[[$HOME/.nvm]]"

Revision as of 06:14, 22 August 2022

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"

See also

Advertising: