![]() ![]() Next, let’s create a new Angular 11 project using the following command: $ ng new angularbsapp The previous command will install angular/cli v11.2.6 (the current version at the time of this writing). Please refer to the official npm website for instructions, or simply, as we previously recommended, install a version manager like NVM which takes care of all of the required configurations. Now, open a new command-line interface and execute the following command: $ npm install -g If your system demands that you prepend sudo to your command in macOS or Linux systems, or use a Command prompt with administrator access in Windows to install Angular CLI globally, you simply need to fix your npm permissions. ![]() This will also allow you to install packages globally on your system without sudo on Linux and macOS or administrator access on Windows. Use a Node version manager such as NVM which will allow you to manage multiple versions of Node on your development machine. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |