From the course: Node.js: Testing and Code Quality

Preparing for Node.js development

- [Instructor] Let's make sure that your development environment has everything you need to follow along. You will need to have some sort of IDE or text editor. I will be demonstrating using Visual Studio Code, available from code.visualstudio.com. VS Code is free, open source and cross-platform, which makes it ideal for demonstrations. The use of VS Code is not required, but you'll be able to follow along with the feature demonstrations if you have it. If you'd like to learn more, check out Visual Studio Code for web developers with Joe Marini here in the online training library. Throughout this course, there are two keyboard shortcuts in VS Code that will be useful to know, because honestly, it's faster than using the menu all the time. The first is save to Save changes to a file. On Windows and Linux, the combination is control and S. On a Mac, the combination is command and S. Remember to save often. The second shortcut is to toggle the integrated terminal. The combination is the same across all platforms, control and backtick, which on a US keyboard, is the same key as ~. Let's test out the terminal. Open Visual Studio Code, toggle the terminal by using the shortcut control and ~. This should open the terminal. I'm going to verify that node is installed and show the version number. Type the command, node space dash V and press enter. I'm using 14.16.0, the long-term support version that was current during recording. Let's check to see if NPM is available as well; type the command, NPM space dash V and press enter. I'm using 6.14.11, which is the version that was included with the long-term support version of node. When you're done, type control and ~ to toggle the terminal. Great, that's all we need for editing our code.

Contents