bhaiya how to runthis filr on terminal means node ke aage uska paath kaise likhna hai
Bhaiya how to runthis filr on terminal means node ke aage uska paath kaise likhna hai
@Aditya-Kushwaha-914550392281281 node is the executable that is in your system, and then you tell node to interpret your js file, for that you write
node <path_to_your_file>
eg: in folder Documents you have folder demo_project and in that you have file server.js, and you are at Documents in your terminal then you write
node demo_project/server.js
if your are at demo_project in your terminal, then you have to write
node server.js