Home  >  Article  >  Web Front-end  >  Tutorial how to use node js until displays \'Hello World\'

Tutorial how to use node js until displays \'Hello World\'

王林
王林Original
2024-08-29 11:31:011143browse

1. Download node js.
Tutorial how to use node js until displays
2. Download git.
Tutorial how to use node js until displays
3. Use git terminal.
Tutorial how to use node js until displays
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
Tutorial how to use node js until displays
6. Create Folder use mkdir -name folder-
Tutorial how to use node js until displays
7. Go to Folder training
Tutorial how to use node js until displays
8. Create content and file use echo 'console.log("hello santri")' > index.js
Tutorial how to use node js until displays
9. use node -name file- to run js and see the results
Tutorial how to use node js until displays

The above is the detailed content of Tutorial how to use node js until displays \'Hello World\'. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn