This guide does a very good job of explaining how to install Node.JS on a raspberry Pi Zero. The Raspberry Pi zero has very different architecture compared its larger sibling, the full size Raspberry Pi. This means you will need to install an older version of Node.js on your Raspberry Pi Zero. This guide from Nic Raboy is spot on and well explained. Check out The Polyglot Developer guide here.