Is anyone teach me how write a programe in node js
i want to write basic c programe to node js is anyone can help me
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit Kumar SinghRank #1,016 · 1.9K reputationPosted Sep 4, 2017, 7:43 AM EDT
Bhawna TutejaRank #2,418 · 584 reputationPosted Feb 11, 2020, 5:49 PM EST
Amit PrabhuRank #689 · 3.5K reputationPosted Feb 23, 2020, 7:22 PM EST
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Feb 23, 2020, 7:39 PM EST
Nitin Manocha130 reputationPosted Aug 13, 2020, 7:26 AM EDT
there ain't much dependencies , unlike C , there is no need to include header file/package just for basic coding.
You need to download & install NodeJs from https://nodejs.org/en/download/ . While installing, it will give you an option to add Node to your enviroment variables, you need to selct it.
After installation , open command prompt and type "node --version" , it will print the node version installed. If not, then there must be some issue with the installation.
On successful installation, just open command prompt, move to the location where you want to write your code, create a file "xyz.js", and write the following code :
console.log("It's my first Node Code")
after saving, write Node xyz in cmd and hit enter.
you'll see "It's my first Node Code" written on the cmd.
Now you can move further with Node.