Getting Started with Node.js
Learn the basics of Node.js and set up your first project
1 min read
Getting Started with Node.js
Node.js is a powerful JavaScript runtime built on Chrome's V8 JavaScript engine.
Installation
To install Node.js, visit the official website:
# Check if Node.js is installed
node --version
# Check npm version
npm --version
Your First Node.js App
Create a new file called app.js:
console.log('Hello, Node.js!');
Run it with:
node app.js
Next Steps
Now that you have Node.js installed, you can start building applications!