Now that you've installed Node we want to do two things, verify that the installation was successful, and familiarize you with the command-line tools.
The basic install of Node includes two commands,
. We've already seen
node in action. It's used either for running command-line scripts, or server processes. The other,
node-waf, is a build tool for Node native extensions. Since it's for building native extensions we will not cover it in this book and you should consult the online documentation at nodejs.org.
The easiest way to verify your Node installation works is also the best way to get help with Node. Type the following:
$ node –-help Usage: node [options] script.js ...