Install TruAPI

This task describes how to install TruAPI to develop scripts with java script code.

  1. Install the latest Node.js 18.x (x64) version.

  2. Create a script directory and set the path to the new directory.

    Example:  

    mkdir c:\MyTruAPI

    cd MyTruAPI

  3. Download and copy the TruAPI package to your script directory.

  4. Install the TruAPI package.

    1. Open a cmd window.

    2. Type the following command:

      npm install -g <script directory>\truapi-1.0.0.tgz

  5. Create a script with TruAPI. FOr details, see Create a script with TruAPI.