Angular installation

前端 未结 9 947
傲寒
傲寒 2021-02-06 13:55

I want to install Angular version 4.* on my windows 7.
I am currently using Angular version 1.6.*

I tried following command

npm install @angular/{com         


        
相关标签:
9条回答
  • 2021-02-06 14:33

    Install angular cli globally.

    npm install -g @angular/cli

    Get git pull from repository:-

    [https://github.com/blazehub/ng-cli-starter.git]

    to get ready made production ready project structure.

    0 讨论(0)
  • 2021-02-06 14:35

    You have some libraries, Like

    angular-material, angular-cdk`
    

    etc... Add all those and Try. It will work for sure. And you will be able to run the project

    0 讨论(0)
  • 2021-02-06 14:38

    For installing Angular 4 follow below simple steps:

    1. Install node.js and npm(they are required dependencies. npm is automatically installed on installing node.js). You can install it from here
    2. With the help of npm install angular CLI. Type the following command in your command prompt: npm install -g @angular/cli
    3. If you are still facing some problems you have to install git. You can install it from here
    4. Now to create an angular 4 project using Angular CLI type the following command: ng new [Project_Name] This will create an Angualr 4 project. 5.To start the server and get your project up and running type following in command line: ng serve

    Remember you should be inside the project folder before starting the server. Hope this helps.

    0 讨论(0)
提交回复
热议问题