---
title: "Tips"
author: "tooby"
date: "2017-06-27T15:59:53Z"
tags: []
categories: ["Web前端"]
slug: "tips"
draft: false
lastmod: "2017-06-27T15:59:52Z"
id: 2381676
url: "https://tooby.iteye.com/blog/2381676"
---

Step 1: npm install -g @angular/cli@latest   
Step 2: ng new name-of-project (ignore if project already created)   
Step 3: cd name-of-project (ignore if project already created)   
Step 4: npm install @angular/cli --save-dev   
Step 5: npm install @angular/compiler-cli --save-dev   
Step 6: ng serve