NodeJS with NPM
Install grunt if you don't have it
npm install -g grunt-cli
Install NPM modules
npm install
Create and edit your Gruntfile.js with your screeps credentials
cp Gruntfile.js.dist Gruntfile.js
nano Gruntfile.js
Commit code from dist folder to screeps using
grunt screeps
Use https://github.com/Garethp/ScreepsAutocomplete for PhpStorm (and possible others) autocomplete