Configuring a node in Intellij IDEA is a very easy process, the following steps will help you to configure a node in the Intellij IDEA.

Step 1: Install node plugins in Intellij IDEA

Click the "File" menu and open the "Settings" box and select the "Plugins" option as in the following:

install node plugins in Intellij IDEA

Click on the "Browser repository..." button and use the following image:

install node plugins in Intellij IDEA1

Download and install Node JS by double-clickiing on the Node JS row. If you are unable to download the NodeJS plugin then please set the proxy server setting and try again. Intellij IDE will restart once the Node JS plugin is installed successfully.

Step 2: Attach node (core) library in any Java Project

Reference

Node.js