Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find node.js interpreter

In WebStorm to get karma.conf running I need to configure it in a pop up window and enter the "path to the node.js interpreter".

(for some reason this information vanished after a restart)

Questions:

  1. What is the path to the needed file?
  2. Where is the node interpreter on Mac/Linux/Windows by default?

(I am on OS X)

like image 849
Breaker222 Avatar asked Mar 16 '16 14:03

Breaker222


People also ask

What is node interpreter in IntelliJ?

Using Node.IntelliJ IDEA lets you run and debug Node. js applications using Node. js on Windows Subsystem for Linux. You can choose Node. js on WSL as the default interpreter for the current project or you can configure and use this Node.

Where do I find NPM?

In a web browser, navigate to https://nodejs.org/en/download/. Click the Windows Installer button to download the latest default version. At the time this article was written, version 10.16.0-x64 was the latest version. The Node.js installer includes the NPM package manager.

Where I can run node js code?

The usual way to run a Node. js program is to run the globally available node command (once you install Node. js) and pass the name of the file you want to execute. While running the command, make sure you are in the same directory which contains the app.


2 Answers

Generally, on OSX and Linux, you can find any program with which program. In your case, type

which node 

in terminal.

like image 88
B0dz1o Avatar answered Oct 01 '22 22:10

B0dz1o


On windows command prompt

where node 
like image 40
Timothy Mugayi Avatar answered Oct 01 '22 22:10

Timothy Mugayi