- Web Development with MongoDB and Node(Third Edition)
- Bruno Joseph D'mello Mithun Satheesh Jason Krol
- 117字
- 2021-07-08 10:32:40
Testing that Node.js is installed properly
Now that Node has been installed on your system, let's run a quick test to ensure everything is working properly.
Access a command line via your terminal program and execute the following command:
$ node --version v8.4.3 $ npm --version 5.3.0
Assuming that your Node installation was successful, you should see the version number that was installed as an output on the screen, right under the command you executed.
Your version numbers will most likely be more recent than those printed earlier.
You can also launch the Node repl, a command-line shell that lets you execute JavaScript directly:
$ node > console.log('Hello world!') Hello World! Undefined [press Ctrl-C twice to exit]
推薦閱讀
- Visual Basic程序開發(fā)(學(xué)習(xí)筆記)
- arc42 by Example
- Java應(yīng)用開發(fā)與實(shí)踐
- Python數(shù)據(jù)分析(第2版)
- C++程序設(shè)計(jì)基礎(chǔ)教程
- Jupyter數(shù)據(jù)科學(xué)實(shí)戰(zhàn)
- Selenium Testing Tools Cookbook(Second Edition)
- R用戶Python學(xué)習(xí)指南:數(shù)據(jù)科學(xué)方法
- Developing SSRS Reports for Dynamics AX
- Spring MVC+MyBatis開發(fā)從入門到項(xiàng)目實(shí)踐(超值版)
- Python入門很輕松(微課超值版)
- Mastering Apache Storm
- 貫通Tomcat開發(fā)
- Sitecore Cookbook for Developers
- Visual C++程序設(shè)計(jì)全程指南