- Learning Node.js Development
- Andrew Mead
- 234字
- 2021-06-30 18:56:40
Verifying installation
Now that Node has been installed successfully, we can go ahead and verify that by running Node from Terminal. Inside Terminal, I'll shut it down by going to Quit Terminal and open it up again:

In our case, we restarted things and we can run our brand new command so, we'll type it:
node -v
What we're doing in this command is we're running the Node command, and we're passing in what's called a flag, a hyphen sign followed by a letter. It could be a, it could be j, or in our case it's v. This command will print the version of Node currently installed.
We might get an error like this:

If you try to run a command that doesn't exist, such as nodeasdf, you'll see command not found. If you see this, it usually means the Node installer didn't work correctly, or you haven't run it in the first place.
In our case though, running Node with the v flag should result in a number. In our case, it's version 9.3.0. If you do have Node installed, and you see something like the following screenshot, then you are done. In the next section, we'll start exploring exactly what Node is.

- Aptana Studio Beginner's Guide
- Spring Boot 2.0 Projects
- 計算機網絡與數據通信
- Building RESTful Web Services with Spring 5(Second Edition)
- 數字調制解調技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- 物聯網與智能家居
- 物聯網頂層設計與關鍵技術
- 網絡工程實施技術與方案大全
- 異構蜂窩網絡關鍵理論與技術
- TCP/IP基礎(第2版)
- bash網絡安全運維
- 現場綜合化網絡運營與維護:運營商數字化轉型技術與實踐
- OSPF協議原理與功能拓展
- Learning IoT with Particle Photon and Electron
- WSN RFID物聯網原理與應用