Prerequisites
Node Installation
The Angular team maintains Angular’s compatibility with evolving Node.js versions. Make sure your Node version is compatible with the Angular version you’re using.
-
Open your terminal and run the following command to get the current version of Node.js installed on your system:
Terminal window node -v -
Check the first line of the matrix compatibility table that your Node version is compatible with the Angular version.
IDEs
If you don’t already have an IDE, we recommend using Visual Studio Code or Webstorm for this course.
Visual Studio Code
-
Download the Visual Studio Code installer from the Visual Studio Code website
-
Run the installer (the .exe file you downloaded in the previous step).
-
Follow the installer instructions (accept the license agreement, click Next several times, and accept the default installation settings).
-
Restart your computer. You won’t be able to run Visual Studio Code until you restart your computer.
-
Test Visual Studio Code. To see if Visual Studio Code is installed, open Windows Command Prompt, PowerShell, or a similar command-line tool, and type
code --version
. This should print a version number, so you’ll see something like1.35.1
.
Angular Language Service Plugin
The Angular Language Service plugin provides a rich editing experience for Angular HTML templates, both inline and external HTML templates, including:
- Auto-completion
- Error checking
- Quick info and navigation to definition
Installation
-
Open Visual Studio Code.
-
Click on the Extensions icon in the icon bar on the side or type
Ctrl+Shift+X
. -
Search for
Angular Language Service
. -
Click the
Install
button. -
Restart Visual Studio Code.
Webstorm
Webstorm is an IDE offered by JetBrains that has been free for personal use since 2024. It provides a comprehensive development experience.
Installation
-
Download the Webstorm installer from the JetBrains website
-
Run the installer (the .exe file you downloaded in the previous step).
-
Follow the installer instructions (accept the license agreement, click Next several times, and accept the default installation settings).
-
Test Webstorm by opening it fromthe Start menu or by searching for “Webstorm” in the Windows search bar.
You do not need the official Angular Language Service plugin for Webstorm as it provides its own custom engine for Angular.