Skip to content

Instantly share code, notes, and snippets.

View pdrolima's full-sized avatar

Pedro pdrolima

  • Sao Paulo, Brazil
  • 08:33 (UTC -03:00)
View GitHub Profile
@brock
brock / nodereinstall.sh
Last active June 13, 2024 12:20
Complete Node Reinstall. I've moved this to a repo at http://git.io/node-reinstall
#!/bin/bash
# node-reinstall
# credit: http://stackoverflow.com/a/11178106/2083544
## program version
VERSION="0.0.13"
## path prefix
PREFIX="${PREFIX:-/usr/local}"