Normally I download, compile, and install Node from source. However the LTS version of Node requires GCC >= 4.8, whereas Debian Wheezy is stuck at 4.7. Instead of jumping through the hoops to upgrade GCC I figured I’d try installing the binary version. Here’s the commands you can run to get the binary installed on Debian (you’ll want to run these commands as root).

Once you’re done, run node -v (v4.2.2) and npm -v (2.14.7) to ensure everything went smoothly.

Note: If you’ve already got an older version of Node installed, be sure to delete all the files you’re about to write to first, otherwise you’ll get errors.