Home > Article > Web Front-end > A brief discussion on the two installation methods of Angular CLI
This article will introduce to you the two installation methods of Angular CLI: online installation and offline installation. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.
Related tutorial recommendations: "angular Tutorial"
Node.js and npm package manager are installed by default.
If you can use the external network, you can use the online installation method.
To use the npm command globally install the CLI, please open a terminal/console window and enter the following command:
npm install -g @angular/cli
After successfully installing the Angular CLI globally, ## A folder named @angular appears in #C:\Users\zhang\AppData\Roaming\npm\node_modules\ directory .
under the C:\Users\zhang\AppData\Roaming\npm\node_modules directory to the corresponding directory of the intranet computer.
After successful installation, you can use Angular CLI to create projects, generate application and library code, and perform various continuous development tasks, such as testing, packaging, and deployment.—— END ——
For more programming related knowledge, please visit:Programming Video! !
The above is the detailed content of A brief discussion on the two installation methods of Angular CLI. For more information, please follow other related articles on the PHP Chinese website!