Skip to content

Instantly share code, notes, and snippets.

@2ajoyce
Created July 9, 2017 03:20
Show Gist options
  • Save 2ajoyce/c9b698347ce05780dc9bb238e69c2bf2 to your computer and use it in GitHub Desktop.
Save 2ajoyce/c9b698347ce05780dc9bb238e69c2bf2 to your computer and use it in GitHub Desktop.
Angular 2 CLI Installation on Cloud 9
## Installation Instructions
`sudo apt-get update`
`sudo apt-get install build-essential checkinstall libssl-dev`
`npm update`
`nvm install 6.11.0`
`npm install -g @angular/cli`
## App Generation
`ng new my-app` ( This takes a long time )
`cd my-app`
`ng serve --host 0.0.0.0 --port 8080 --public $C9_HOSTNAME`
Continue the tutorial from [here](https://angular.io/guide/quickstart#first-component).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment