Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
In this video, we'll introduce the Angular CLI and review what you'll learn in this workshop.
Prerequisites
To get the most from this workshop, you should be familiar with Angular concepts like components, services, and modules. You should also be comfortable with reading and writing TypeScript, which is a statically typed superset of JavaScript. For more information on either of these topics, see the following resources.
Additional Learning
[MUSIC]
0:00
Hi there, this is James, in this workshop
we'll be taking a look at the Angular CLI.
0:05
So what's a CLI?
0:11
The acronym stands for
0:13
Command Line Interface,
which is a fancy way of saying that a CLI
0:15
is a collection of commands that you
run from, well, from the command line.
0:20
The Angular CLI allows you to
easily create, modify, and
0:26
serve angular app instead of being
distracted by a web pack or type script
0:30
configuration, the CLI enables you to stay
focused on the development of your app.
0:35
It’ll increase the quality of your code,
and save you lots of time.
0:41
The Angular CLI started out as
a community ran open source project, but
0:45
it’s now part of the core Angular
platform, it supports Angular 2 and up.
0:50
The latest version of the CLI at the time
of this recording, supports Angular 5.1,
0:56
but it doesn't support Angular JS or
1.x apps.
1:02
So if you're still using
the previous version of Angular,
1:07
the Angular CLI won't be for you.
1:10
The code that the CLI generates
follows the recommended best
1:14
practices documented in
the official Angular Style Guide.
1:17
So the CLI not only makes it easy to
get up and running with using Angular,
1:22
it also gives you a way to learn
Angular's best coding practices.
1:26
In this workshop you'll learn how
to install the Angular CLI and
1:32
use it to generate a new app.
1:36
Then you'll learn how to use the CLI
to serve your app locally so
1:37
you can preview your app in a browser
while you're developing it.
1:41
We'll also see how you can use the CLI
to generate new items for your app,
1:45
and we'll finish up with building and
deploying our app to GitHub pages.
1:50
To get the most from this workshop
you should be familiar with
1:55
Angular concepts like components,
services, and modules.
1:58
 You should also be
comfortable with reading and
2:03
writing TypeScript, which is a statically
typed superset of JavaScript.
2:06
And you should also have some
experience with Git and GitHub and
2:11
writing basic commands from the terminal.
2:15
Ready to get started with
learning about the Angular CLI?
2:18
Let's start with installing
the CLI in the next video.
2:21
You need to sign up for Treehouse in order to download course files.
Sign up