How to install typescript

1 min read

Globally Installing TypeScript
You can use npm to install TypeScript globally, this means that you can use the
tsc
command anywhere in your terminalnpm install -g typescript
To run typescript npx tsc
Check Typescript version
tsc -v
You might get Error
You can run this command in PowerShell. Make sure to run it as an administrator
// run Powershell as Administrator
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Now you can Check, your typescript version
tsc -v
0
Subscribe to my newsletter
Read articles from CHIRAG KUMAR directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

CHIRAG KUMAR
CHIRAG KUMAR
Full stack Developer