Below commands needs to run in Command Prompt to setting up the initial code
- To set up a code, we need to install Angluar CLI. Follow the below steps.
- Open command prompt and type below command
- [sudo] npm install -g @angular/cli@latest
- sudo - Use only in Mac
- -g - Global
- Navigate to the path where you want to create your initial code for the project and Open Command Prompt
- Type ng new [Your-Project-Name]
- This will create initial code to work on as shown in below fig 1
Fig 1
No comments:
Post a Comment