Docs

Installing Node.js and Appium

Mac and Linux

  1. Download the Node.js .tar.gz file for your OS from https://nodejs.org/en/download/.

  2. Copy the downloaded file to the ~/robustest/tools/ folder.

  3. Extract the archive:

    tar -xzf <filename>.tar.gz
    
  4. Delete the tar file, then rename the extracted folder to node.

  5. Add Node.js to your PATH:

    PATH=$PATH:~/robustest/tools/node/bin
    
  6. Install Appium:

    npm install -g appium
    

    If Appium is already installed, uninstall it first:

    npm uninstall -g appium
    npm install -g appium
    
  7. In the setEnvironment.sh file, in the node section, ensure that the path to the Node.js folder is correct.


Windows

  1. Download the Node.js Windows installer (.msi) from https://nodejs.org/en/download/.

  2. Run the installer. When prompted for the destination folder, change it to:

    C:\Users\<username>\robustest\tools\node
    

    Create the node folder inside robustest\tools\ if it does not exist.

  3. Add Node.js to the PATH environment variable:

    1. Search for env in the Windows search bar → Edit the system environment variables.
    2. Click Environment Variables.
    3. Under User Variables, select the PATH variable and click Edit.
    4. Click New and enter:
      C:\Users\<username>\robustest\tools\node
      
    5. Click OK on all windows, then restart your computer.
  4. Open an elevated PowerShell session and install Appium:

    npm install -g appium