Skip to content

Instantly share code, notes, and snippets.

@BartoszBilejczyk
Created March 29, 2018 09:15
Show Gist options
  • Save BartoszBilejczyk/9cc77d0004fd76c74f93bfab70f13186 to your computer and use it in GitHub Desktop.
Save BartoszBilejczyk/9cc77d0004fd76c74f93bfab70f13186 to your computer and use it in GitHub Desktop.
npm install -g @angular/cli
ng new PROJECT-NAME
cd PROJECT-NAME
ng serve
// configuring default port
ng serve --host 0.0.0.0 --port 4201
// generating new components / modules / guards and others
ng g component my-new-component
ng g module my-module
ng g guard my-new-guard
...
More information at https://github.com/angular/angular-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment