Setting up the Netflix CLI

  • IMPORTANT: The NFCLI requires Java 1.6+. If your default JRE is not 1.6+, and you can not change your default JRE, you can override the JAVA_HOME variable in the netflix.sh (or .bat) file. Examples are included in the script files.

Download the distribution as a zip or as a gzipped tarball. Then:

  1. Create a NFCLIENT_HOME environment variable, set to the directory where you will install these files.
  2. Make sure that /var/log/nfclient/ exists and is writeable by the user running the client, or change the location of the logfile by changing the value of the logfileName property in the supplied logback.xml file.
  3. Copy all files in this distribution to $NFCLIENT_HOME.
  4. Optionally add $NFCLIENT_HOME/netflix.sh (or .bat) to your path.
  5. Make a nfcli-properties.groovy file based on the provided nfcli-properties.groovy.EXAMPLE file. You'll just need to add your own consumer keys and secrets.
  6. The client can then be executed from the command line. Sending a -t flag will cause the monitor to execute against the testing environment. By default it executes against production.