1. Download the latest version of Node.js.
  2. Copy Node.js to the Splunk bin directory.
  3. Do one of the following:
    • Run npm install before running the script.
    • Edit the script to match your version of Node.js.