How to create Angular project from scratch
Updated:
How to create Angular project from scratch
- Install Node
- Visit Node Downloads web site (https://nodejs.org/en/download/).
- Download LTS install file.
- Setup Node.js
- Check Node is installed.
- Run ‘Command Prompt’.
- Enter ‘node -v’.
C:>node -v v12.16.3 C:>
- You can check the version of ‘Node’.
- Install Anglular CLI()
- -g option: installs the current package context as a global package.
C:>npm install -g @angular/cli
- -g option: installs the current package context as a global package.
- Update new patch version of npm.
- Run ‘npm install -g npm’ to update.
C:>npm install -g npm
- Run ‘npm install -g npm’ to update.