Prerequisites
Note
- Node.js plugin is installed and enabled.
This plugin is not bundled with IntelliJ IDEA, but it is available from the JetBrains plugin repository
.
Once enabled, Node.js support is available at the IDE level, that is, you can use it in all your IntelliJ IDEA projects.
- Node.js
framework is downloaded and installed on your computer.
Note
You can have several versions of the framework installed and switch between them depending on the requirements of a specific project. To appoint one of the installations as default, click the Change NodeJS Version toolbar button
and specify the folder with the Node.js version. IntelliJ IDEA will find the executable file in the folder itself
and always show the path to it in the Run/Debug Configuration: NodeJS dialog box.
Changes to the UI
Once enabled, Node.js plugin introduces the following changes to the IntelliJ IDEA UI:
- Dedicated button
appears on the main toolbar.
- Run/debug configurations are added.
