This is a Node.js script, written in CoffeeScript. Of course you'll need Node.js and NPM. Additionally, it requires the Coffee Script compiler/interpreter and the Twilio package.
npm install -g coffee-script
npm install twilio
Once everything is ready, you can run the script like that: