Legacy platform

Installing gulp

The installation instructions corresponds to the windows operating system. If you are using a different operating system, ensure that you download the appropriate binaries, modify commands, and directory paths.

Important: For an AngularJS store, ensure that you set up minification to load your customizations in the production environment.

For more information about the minification process, see General note on extensibility.


  1. Download Node.js v6.11.2 compressed file from Node.js or Rational Asset Manager, which is recommended.
  2. Extract the contents of the compressed file to a folder.
    For example, C:\NodeJS.
  3. Update the following environment variables:
    • Define a new NODE_HOME variable, and provide the path where Node.js is installed. For example, C:\NodeJS.
    • Update the PATH (or Path) environment variable within the double quotation marks as ";%NODE_HOME%"
      Note: For Linux, append the /bin folder too as $NODE_HOME/bin.
    • Verify that other gulp or npm folders are not present in your PATH environment variable.

    For Linux, update the Bash profile, PATH, or other variables as needed.

  4. Install gulp by completing the following steps:
    1. Open the command prompt with administrator privileges.
    2. Browse to the directory where Node.js is installed.
    3. Run the following command:
      npm install -g gulp@v3.9.0
  5. Create a <STORE_BUILD_FOLDER> folder.
    For example, C:\StoreBuild.
  6. Copy the gulp files from <RUNTIME>/nodebuild/wsc/ to <STORE_BUILD_FOLDER>.
    Important: Do not modify the contents of <RUNTIME>/nodebuild/wsc/ directory.
  7. Open the command prompt and browse to the <STORE_BUILD_FOLDER> folder by typing cd <STORE_BUILD_FOLDER>.
  8. Run the - npm update command. All the node.js related packages that enable minification are installed.