Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the file node.exe for?

Tags:

node.js

I'm learning Node.js on a Windows environment. So far, I've been using the Node.js command prompt shortcut to run the commands.

But the Windows installer also creates a shortcut named simply Node.js that points to "C:\Program Files\nodejs\node.exe" and I'm not sure what is it for.

How can I use that program?

like image 360
user11081980 Avatar asked Jul 11 '15 17:07

user11081980


People also ask

Can I remove node exe?

Search for Program and features. Under the program and features click on Uninstall a program. Now search for Node. js and uninstall it.

Is node A viruses?

Discovered by Xavier Mertens, Node. js is a ransomware-type malicious software. This malware encrypts the data of infected devices and demands payment for decryption.

What is node and why use it?

Node. js is a single-threaded, open-source, cross-platform runtime environment for building fast and scalable server-side and networking applications. It runs on the V8 JavaScript runtime engine, and it uses event-driven, non-blocking I/O architecture, which makes it efficient and suitable for real-time applications.

What is a file node?

A NODE file contains an addon, which is a compiled library of functions used by one or more Node. js applications. It stores binary data compiled from a GYP file written in the C++ programming language.


1 Answers

node.exe is full Node.JS executable, containing everything you need to run Node.JS applications on Windows.

You used the default installer, so it got installed to C:\Program Files\nodejs\node.exe. But you can also download it separately (Windows Binary option), and, for example, bundle it with your application package to simplify the installation on many machines.

There's no real need to use "Node.js command prompt" shortcut. You can launch Node.JS apps from regular Windows command line terminal, providing full path to node.exe executable (wherever it is actually located). An example:

C:\Program Files\nodejs\node.exe app.js
like image 181
bardzusny Avatar answered Oct 21 '22 09:10

bardzusny