Advertisement
Javi

Nodejs tricks

Dec 15th, 2022
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. # Nodejs tricks
  2.  
  3. * Set nodejs for all users
  4.  
  5. ```
  6. n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local
  7. ```
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement