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 here that your Node version is compatible with the Angular version.
Visual Studio Code
If you don’t already have an IDE, we recommend using Visual Studio Code for this course.
Installation
- Download the Visual Studio Code installer from the Visual Studio Code website
- Run the installer (the .exe file you downloaded in the previous step).
- Followthe installer instructions (accept the license agreement, click Next several times,and accept the default installation settings).
- Restart your computer. You won’tbe able to run Visual Studio Code until you restart your computer.
- Test VisualStudio 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 onthe side or type
Ctrl+Shift+X
. - Search for
Angular Language Service
. 4.Click theInstall
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.