Update README.md (#17714)

This commit is contained in:
Zeeshan Ahmed 2017-09-07 12:20:56 -07:00 committed by Mohamed Hegazy
parent 727facb55c
commit de940af23b

View File

@ -12,13 +12,13 @@
For the latest stable version:
```
```bash
npm install -g typescript
```
For our nightly builds:
```
```bash
npm install -g typescript@next
```
@ -50,26 +50,26 @@ In order to build the TypeScript compiler, ensure that you have [Git](https://gi
Clone a copy of the repo:
```
```bash
git clone https://github.com/Microsoft/TypeScript.git
```
Change to the TypeScript directory:
```
```bash
cd TypeScript
```
Install Gulp tools and dev dependencies:
```
```bash
npm install -g gulp
npm install
```
Use one of the following to build and test:
```
```bash
gulp local # Build the compiler into built/local
gulp clean # Delete the built compiler
gulp LKG # Replace the last known good with the built one.
@ -88,7 +88,7 @@ gulp help # List the above commands.
## Usage
```shell
```bash
node built/local/tsc.js hello.ts
```