DEV Community

Ghifari-S
Ghifari-S

Posted on

Tutorial how to use node js until displays "Hello World"

1. Download node js.
Like this
2. Download git.
Like this
3. Use git terminal.
Like this
4. Make sure you are on the latest version.
check node js version by using npm -v & node -v in git

5. Go to desktop file
alt
6. Create Folder use mkdir -name folder-
alt
7. Go to Folder training
alt
8. Create content and file use echo 'console.log("hello santri")' > index.js
alt
9. use node -name file- to run js and see the results
alt

Top comments (0)