Sitemap
Timi Omoyeni

Timi Omoyeni

Trying times

Getting started with Angular

2 min readApr 12, 2018

This tutorial is aimed at walking you through setting up Angular using the Angular CLI.

Angular logo from here

First,you have to ensure you have the angular cli on your machine,if youre not sure you can run ;

$ ng -v // or ng version

If you see something like this, you’re ready to go..

Hyper terminal

I’d recommend the Hyper terminal because I think it’s super cool and useful for whenever you need to run more than one server on your development machine.

If you don’t get that response, you can run the following command and wait for it to install.

$ npm install -g @angular/cli

Once that is done, run

$ ng new myNewApp

It would take a while,you might as well grab a drink as you wait haha.When that is done,cd into your new app and rung ng serve -open.

$ cd myNewApp// the -o automatically opens a page on your browser running at localhost:4200
$ ng serve -o

Once that has worked you should see this in your browser

If you succeeded in getting to this point,your’re ready for the wonderful world of Angular.

Get Timi Omoyeni’s stories in your inbox

Join Medium for free to get updates from this writer.

See you in my next article,dont forget to leave a clap…or two. Thanks.

--

--