Save your file and follow the below steps:
1. Open terminal or command prompt.
2. Set path to where the file is located using the cd command
3. Type “node Test.js” and hit enter(Without quotes).