Show List
Environment Set Up
Setting up the development environment for Angular involves installing the necessary tools and libraries to get started with Angular development. Here are the steps you need to follow to set up your development environment
Node
Node is open source JavaScript run time environment that executes JavaScript code outside a web browser. To check if you already have Node installed on your computer, run "node -v" command from command line:
C:\Users\yourusername>node -v
If Node is already installed, you will see the installed Node version
C:\Users\mail2>node -v v16.10.0
If Node is not installed you would see command not recognized message. In that case, follow installation instructions for your operating system from the official website https://nodejs.org/en/
Angular CLI
Angular CLI makes it easier to create and bootstrap angular application. Run "ng version" command from command line to see if Angular CLI is already installed. If Angular CLI is installed, you would see the version details.
_ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 14.2.2 Node: 16.10.0 Package Manager: npm 7.24.0 OS: win32 x64 Angular: ... Package Version ------------------------------------------------------ @angular-devkit/architect 0.1402.2 (cli-only) @angular-devkit/core 14.2.2 (cli-only) @angular-devkit/schematics 14.2.2 (cli-only) @schematics/angular 14.2.2 (cli-only)
If Angular CLI is not installed, run cammand "npm install -g @angular/cli" to install it.
Editor (VS Code)
VS Code is a popular code editor with support for tasks like debugging, running code and version control. Download and install VS Code from official website https://code.visualstudio.com/download
Leave a Comment