File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2121 - name : Delete latest version of NodeJS
2222 run : |
2323 yes | sudo n uninstall
24- # Source: https://github.com/tj/n/issues/540#issuecomment-443844202
24+ # Source: https://github.com/tj/n/issues/540#issuecomment-443844202
2525 sudo rm -f "/usr/local/bin/node"
2626 sudo rm -f "/usr/local/bin/npm"
2727 sudo rm -f "/usr/local/bin/npx"
3131 sudo rm -rf "/usr/local/share/doc/node"
3232 sudo rm -rf "/usr/local/share/man/man1/node.1"
3333 sudo rm -rf "/usr/local/share/systemtap/tapset/node.stp"
34- # Creating a symbolic link to bypass path reference bug
34+ # Creating a symbolic link to bypass path reference bug
3535 sudo ln -s /usr/bin/node /usr/local/bin/node
3636 sudo ln -s /usr/bin/npm /usr/local/bin/npm
3737 sudo ln -s /usr/bin/npx /usr/local/bin/npx
You can’t perform that action at this time.
0 commit comments