Angular CLI (Command Line Interface)

Aykut Kobak
2 min readNov 11, 2019

--

For the developer, there are some tools and ready-made libraries to get rid of the time-consuming and frustrating steps to launch the project. In this article I will talk about Angular CLI.

Angular CLI Installation:

Note: To install CLI or create a project, you must have Node.js version 4 or higher and npm 3 and higher installed on your computer.

To install Angular CLI, just run one command. After running the command below from npm, you can now use the Angular CLI on your computer.

npm install -g angular-cli

If the installation has been completed successfully, we can now create a new project with Angular CLI.

ng new project-name

After our project has been formed successfully, we can enter the project directory and compile the project with the following command.

cd project-name
ng serve

When we are done, we can close the command line with Ctrl + C, examine our project and start the improvements. It is located by default at http: // localhost: 4200.

What Structures Can I Create Automatically with Angular CLI?

You can see the structures and creation commands that you can create with Angular CLI from the table .

Further information and future updates on CLI can be found at https://cli.angular.io and on GitHub.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Aykut Kobak
Aykut Kobak

Written by Aykut Kobak

Automation — Front-end — UI Designer

No responses yet

Write a response