Two second set up
npm install -g jsbin jsbin
Note: You may have to run npm as the super user, so in that case, the first command would be, and you will be prompted for your password:
sudo npm install -g jsbin
...or read the detailed guide on running JS Bin locally for more options and control over the setup.