Node.js

Last modified: 01 February 2023

Required plugins:

JavaScript and TypeScript -  The plugin is bundled with AppCode and enabled by default.

Node.js (only for developing Node.js applications) -  Install the plugin on the Settings | Plugins page, tab Marketplace.

Node.js is a lightweight runtime environment for executing JavaScript outside the browser, for example on the server or in the command line. AppCode integrates with Node.js providing assistance in configuring, editing, running, debugging, testing, profiling, and maintaining your applications.

If you need Node.js only as a local runtime for your application or for managing npm packages, running JavaScript linters, build tools, test frameworks, and so on, just install Node.js. If you follow the standard installation procedure, in most cases AppCode detects Node.js itself.

If you want to switch among several Node.js installations, they must be configured as local Node.js interpreters. In most cases, AppCode detects Node.js installations, configures them as interpreters automatically, and adds them to the list where you can select the relevant one.

To run a Node.js application remotely, configure it as a remote interpreter. See Node.js with Docker, Node.js via SSH, and Node.js with Vagrant for details.