Alright, the Splunk JavaScript SDK is built on top of Node.js & requires it. Node.js is a server-side JavaScript framework, similar in nature to PHP or Ruby on Rails.
Make sure you have the JS SDK requirements here: http://dev.splunk.com/view/SP-CAAAED6
Currently, the SDK only supports up to v0.8.x of Node.js but we're releasing an update mid-August which will support up to v0.10.x.
You can download a specific version of Node.js here: http://nodejs.org/dist/
Once installed, you can run JavaScript files from the command line by entering in "node [yourfilename].js" without the quotes.
... View more