From de940af23bdf88893cad7eb3e163335d03ae44d9 Mon Sep 17 00:00:00 2001 From: Zeeshan Ahmed Date: Thu, 7 Sep 2017 12:20:56 -0700 Subject: [PATCH] Update README.md (#17714) --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 23829a74d39..4cd1efe2fb0 100644 --- a/README.md +++ b/README.md @@ -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 ```