This project was generated with Angular CLI version 15.2.4.
-
ng new <workspace-name> --create-application=false
-
ng generate app <project-name>
-
ng serve <project-name>
-
Update Angular (Local) - https://angular.dev/update-guide
ng update @angular/core@20 @angular/cli@20
-
Update Angular (Global) - npm install -g @angular/cli@latest
- Node.js Installs Path -
~\AppData\Local\fnm_multishells
fnm install <version>
fnm list
fnm use <version>
fnm uninstall <version>
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
- Run
ng serve
for a dev server. Navigate tohttp://localhost:4200/
. The app auto reloads on source file changes. - Run
ng build
to build the project. The build artifacts will be stored in thedist/
directory. - Run
ng test
to execute the unit tests via Karma. - Run
ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
- angular-cli-ghpages | npm
ng add angular-cli-ghpages --project MYPROJECTNAME