Top community members
All Wiki Articles Create Wiki Article

Welcome to Dirask IT community! ❤ 💻
We are community of people that helps each other.

If you think you have some skills to help others

help someone and become a part of our community - List Q & A

TypeScript - upgrade TypeScript compiler (tsc upgrade)

0 contributions
4 points

In this short article we would like to show how to upgrade TypeScript compiler.

Open terminal do following steps (in some cases as rootsuperuser or administrator):

  1. Check TypeScript version with command:
    tsc -v
  2. Run upgrade with command:
    npm -g upgrade typescript
    where: -g means global instalation mode
  3. Check TypeScript version again:
    tsc -v

Note: presented stemps work on different platforms (Windows, Linux, etc.).

Practical example:

$ tsc -v
Version 3.3.3333

$ npm -g upgrade typescript
C:\Users\john\AppData\Roaming\npm\tsc -> C:\Users\john\AppData\Roaming\npm\node_modules\typescript\bin\tsc
C:\Users\john\AppData\Roaming\npm\tsserver -> C:\Users\john\AppData\Roaming\npm\node_modules\typescript\bin\tsserver
+ typescript@3.9.6
updated 1 package in 13.424s

$ tsc -v
Version 3.9.6


0 contributions

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more