Before testing Node.js applications in a local development environment, you must prepare the development environment. This topic describes how to configure a Node.js development environment. It also provides download links for related tools.

Install Node.js.

Download an installation package from the Node.js official website.
Note We recommend that you download Node.js 10.16.x or Node.js 8.16.x to ensure full compatibility with technology stack versions of Web App Service.


  1. Open a directory where a Node.js installation package such as node-v10.16.3-linux-x64.tar.xz resides, and use the following command to extract all files from the installation package to the /usr/local directory.
    sudo tar -C /usr/local -xzf node-v10.16.3-linux-x64.tar.xz
  2. Use the following command to create a symbolic link named /usr/local/node and point to the directory to which the installation package is extracted.
    sudo ln -s /usr/local/node-v10.16.3-linux-x64 /usr/local/node
  3. Add the directory where the executable file resides to the Path environment variable. Add the following command to the $HOME/.profile file.
    export PATH=$PATH:/usr/local/go/bin
  4. Use the following command to apply the environment variablec changes.
    source $HOME/.profile
  5. Use the following command to verify the installation of Node.js.
    node --version && npm --version
    A successful installation is indicated if the following results appear.


Use the following brew command to install Node.js.
brew update && brew install go


Open the directory where the Node.js installation package resides and run the .msi file to install the package. No extra configuration is required.

Install an IDE

An integrated development environment (IDE) is a software application that provides developers with comprehensive tools for software development. In most cases, these tools include a code editor, compiler, debugger, and graphical user interface (GUI). These tools help developers significantly improve development efficiency. The following lists common IDEs for developing Node.js applications. For these IDEs, you may need to install extra plug-ins to support the development of Node.js applications.