How to install a Specific Version of Angular-cli?
How to install a Specific Version of Angular-cli?
Hey Folks,
In this tutorial, you will learn angular cli global install specific version. We will use install specific angular cli version. This tutorial will give you a simple example of uninstall angular cli and install specific version. This example will help you install angular cli globally specific version.
Uninstall the Angular-cli
we can use following command to uninstall the angular-cli.
npm uninstall -g @angular/cli
Install Specific Version of Angular-cli
To install a specific version of Angular CLI, you can use the npm package manager and the `@angular/cli` package. Here's the command to install a specific version:
npm install -g @angular/cli@angular-cli-version
Replace `angular-cli-version` with the specific version number you want to install.
For example, if you want to install Angular CLI version 12.0.0, the command would be:
npm install -g @angular/cli@12.0.0
This command installs the Angular CLI globally on your machine with the specified version. After the installation is complete, you can use the `ng` command to interact with Angular CLI in your projects.
Create Project with new Angular-cli
Create a new project using ng new command.
ng new my-app
I hope it can help you...
Hardik Savani
I'm a full-stack developer, entrepreneur and owner of ItSolutionstuff.com. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Laravel, Angular, Vue, Node, Javascript, JQuery, Codeigniter and Bootstrap from the early stage. I believe in Hardworking and Consistency.
We are Recommending you
- Angular 16 Install Font Awesome Icons Example
- Angular Table with Checkbox Example Tutorial
- Angular Webcam Capture Image from Camera Example
- How to Get Domain Name in Angular App?
- How to Use Custom Svg Icons in Angular Material?
- Angular Stripe Payment Gateway Integration Tutorial
- Angular Server Side Pagination Tutorial
- Angular Material Multi Select Dropdown with Search Example
- Angular 10 Create New Project Example
- Angular Material Slide Toggle Example
- Angular Image Upload Example Tutorial
- Angular Material Datepicker Example
- AngularJS Convert Comma Separated String to Array Example