First, install Node.js. The installers on the Node.js website also include Node’s package manager, npm. Alternatively, install both of these from your package manager. For example, on Ubuntu or Debian:
sudo apt-get install nodejs-legacy npm
python setup.py css js
This will automatically fetch the remaining dependencies (bower, less) and install them in a subdirectory.