Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 437 Bytes

install-typescript-compiler-globally.md

File metadata and controls

27 lines (18 loc) · 437 Bytes

Install TypeScript Compiler Globally

Category: TypeScript

You can install the TypeScript compiler tsc globally as an alternative to using TypeScript for a specific project with the following command:

yarn global add typescript

Confirm version:

tsc --version

Show help:

tsc --help

Initialise a TypeScript tsconfig.json file with defaults for your project:

tsc --init