API Developer
The API Connect Toolkit is built on Node.js technology. In this section, you will either install Node.js or upgrade your existing Node.js runtime to the necessary version.

Check if Node.js is Already Installed

  1. Open a terminal and run the following command:

    node -v
    
  2. Verify the output.

    1. If the command returns an error or a version number less than v6.10.3, continue to Install Node.js for your operating system.

    2. If you already have Node.js v6.10.3 or later, proceed to Install the API Connect Toolkit.

Install Node.js

Select your Operating System:

  1. The API Connect developer toolkit requires Node.js version 6.10.3. Use the links below to download the installation file for your operating system.

    32-bit Windows

    64-bit Windows

  2. Launch the Windows Installer .msi binary and then follow the prompts to install on your machine.

  3. Before moving on, you will need to update your version of npm. Launch a Powershell and run the following command:

    npm install npm --global
  4. Proceed to Install Docker.

  1. Remove any existing versions of node. You will only need to complete these steps if node currently exists.

    To remove node completely from your macOS workstation, copy the following command set and run it in your terminal:

    sudo rm /usr/local/bin/npm && \
    sudo rm /usr/local/share/man/man1/node.1 && \
    sudo rm /usr/local/lib/dtrace/node.d && \
    sudo rm -rf ~/.npm && \
    sudo rm -rf ~/.node-gyp && \
    sudo rm /opt/local/bin/node && \
    sudo rm /opt/local/include/node && \
    sudo rm -rf /opt/local/lib/node_modules && \
    sudo rm -rf /usr/local/include/node/
  2. Run the following command to install the Xcode Command Line Tools:

    xcode-select --install
  3. This will open a dialog asking if you you would like to install the command line tools. Click on the Install button.

  4. Agree to the license and the software will begin installing.

  5. Run the following command in your terminal to install the Node Version Manager:

    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
  6. To install node 6.10.3, issue this command:

    nvm install v6.10.3
  7. Proceed to Install Docker.

  1. Run the following command in a terminal to install the prerequisite packages:

    sudo apt-get install build-essential libssl-dev curl git-core
  2. Install Node Version Manager by issuing the following command:

    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
  3. Close and restart your terminal as indicated in the terminal window, or run this command:

    source ~/.profile
  4. To install node 6.10.3, issue this command:

    nvm install v6.10.3
  5. Proceed to Install Docker.

  1. Follow the instructions for your system on the Node.js website

    https://nodejs.org/en/download/package-manager/

  2. Once you've installed Node.js, proceed to Install Docker.