If you only have TypeScript installed for Visual Studio then:

  1. Start the Visual Studio Command Prompt
  2. Type tsc -v and hit Enter

Visual Studio 2017 versions 15.3 and above bind the TypeScript version to individual projects, as this answer points out:

  1. Right click on the project node in Solution Explorer
  2. Click Properties
  3. Go to the TypeScript Build tab
Answer from basarat on Stack Overflow
🌐
npm
npmjs.com › package › typescript
typescript - npm
September 30, 2025 - Latest version: 5.9.3, last published: 2 months ago. Start using typescript in your project by running `npm i typescript`. There are 61819 other projects in the npm registry using typescript.
      » npm install typescript
    
Published   Sep 30, 2025
Version   5.9.3
Author   Microsoft Corp.
Top answer
1 of 16
292

If you only have TypeScript installed for Visual Studio then:

  1. Start the Visual Studio Command Prompt
  2. Type tsc -v and hit Enter

Visual Studio 2017 versions 15.3 and above bind the TypeScript version to individual projects, as this answer points out:

  1. Right click on the project node in Solution Explorer
  2. Click Properties
  3. Go to the TypeScript Build tab
2 of 16
83

Two years after the question was asked, using Visual Studio Command Prompt still did not produce right answer for me. But the usual Help|About window seems working these days:

UPDATE (June 2017):

  1. VS 2013 does NOT show this info. (Later note: VS 2017 Enterprise edition does not show this info either).

  2. VS uses Microsoft Build Engine (MSBuild) to compile Typescript files. MSBuild can support several major releases of Typescript, but About window shows only the latest one.

Here is how to get to the bottom of it:

A. To check which versions of Typescript are installed with your Visual Studio/MSBuild, inspect contents of C:\Program Files (x86)\Microsoft SDKs\TypeScript folder. For example, I have versions 1.0, 1.8 and 2.2:

B. Check which version of Typescript is requested by your project. In *.csproj file, look for <TypeScriptToolsVersion> tag, or you can add it if it is missing, like this


<PropertyGroup> ... <TypeScriptToolsVersion>1.8</TypeScriptToolsVersion> ... </PropertyGroup>

C. Finally, you can check, which version of Typescript is actually used by MSBuild. In TOOLS | Options | Projects and Solutions | Build and Run set MSBuild project output verbosity to Detailed:

Then build your project and inspect the output: you should see the reference to one of Typescript folders described in (A).

Discussions

ts-node - how do I know what version of tsc it is actually using?

Is ts-node installed globally along with an older version of Typescript?

More on reddit.com
🌐 r/node
12
1
April 10, 2019
npm - How to upgrade Typescript to the latest version? - Stack Overflow
Does this means that I still have version 0.8.0 installed on my computer? I tried to see if the tsc command has a -v or a -version parameter but I haven't found it, so I still uncertain if I have upgraded Typescript to the latest release or if I'm still stuck with an older version. More on stackoverflow.com
🌐 stackoverflow.com
What TypeScript version is Visual Studio Code using? How to update it? - Stack Overflow
Change the file back to tsc.cmd and you should now be able to build and have Intellisense in VS Code for the globally installed TypeScript node package ... Why was this not an edit of the answer that already had 99% of this information? 2019-03-14T05:28:30.707Z+00:00 ... To automatically use the Typescript version ... More on stackoverflow.com
🌐 stackoverflow.com
Deprecated `tsc` package alongside `typescript` in `package.json`
I'm sure this is an npm 101 kind of problem. I can't seem to compile and always run into uknown compiler option errors npm i && npm start up to date, audited 778 packages in 6s 93 p... More on github.com
🌐 github.com
8
February 6, 2021
🌐
TypeScript
typescriptlang.org › download
TypeScript: How to set up TypeScript
You can use npm to install TypeScript globally, this means that you can use the tsc command anywhere in your terminal. To do this, run npm install -g typescript. This will install the latest version (currently 5.9).
🌐
TSC
tsc.ca
Shop TSC - Canada's Destination for Exclusive Brands & Offers Everyday
Shop TSC - Canada's Destination for Exclusive Brands & Offers Everyday
🌐
Reddit
reddit.com › r/node › ts-node - how do i know what version of tsc it is actually using?
r/node on Reddit: ts-node - how do I know what version of tsc it is actually using?
April 10, 2019 -

Hi all... so I am currently in the midst of upgrading an existing project to a newer version of typescript. The issue I am having is that in package.json we have a command to compile everything with tsc:

"test:build": "tsc --outDir ./dist"

and a command to run the project locally through nodemon and ts-node:

"build:live": "nodemon --exec node --inspect -r ts-node/register ./index.ts | bunyan -l debug",

The issue is that the first command that builds directly with tsc gives compilation errors where our code is not correct for the new version of typescript that I've specified in package.json. That's to be expected and its fine. But the latter command that runs with nodemon and ts-node continues to run quite happily with no errors, which leads me to believe that, behind the scenes, its using a different and older version of tsc.

So, how can I determine which version of tsc is actually being used by ts-node? And more to the point, how can I get it to use the new version that I am trying to target?

Thanks in advance for any help, and sorry if this is a bad question but I am relatively new to the world of node and not having any luck Googling for this.

🌐
StreetInsider
streetinsider.com › Press+Releases › TSC+Introduces+Version+5.4+and+Announces+Massive+Cyber+Week+Sale+for+Traders+Worldwide › 25672673.html
TSC Introduces Version 5.4 and Announces Massive ...
2 weeks ago - Gabriel E Pulido ' s Work Blends Art, Science, and Environmental Awareness · NEW YORK, Oct. 29, 2025 /PRNewswire/ -- Composer and multimedia artist Gabriel E Pulido proudly announces the release of the first part of his ocean-inspired immersive audio album Deep Surface, scheduled to launch ...
🌐
GitHub
github.com › microsoft › typescript › releases
Releases · microsoft/TypeScript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Releases · microsoft/TypeScript
Author   microsoft
Find elsewhere
🌐
Visual Studio Code
code.visualstudio.com › docs › typescript › typescript-compiling
Compiling TypeScript
November 3, 2021 - Version 1.107 is now available! Read about the new features and fixes from November. ... TypeScript is a typed superset of JavaScript that transpiles to plain JavaScript. It offers classes, modules, and interfaces to help you build robust components.
🌐
npm
npmjs.com › package › tsc
tsc - npm
January 15, 2022 - A deprecated release of the TypeScript compiler. Latest version: 2.0.4, last published: 4 years ago. Start using tsc in your project by running `npm i tsc`. There are 774 other projects in the npm registry using tsc.
      » npm install tsc
    
Published   Jan 15, 2022
Version   2.0.4

If you only have TypeScript installed for Visual Studio then:

  1. Start the Visual Studio Command Prompt
  2. Type tsc -v and hit Enter

Visual Studio 2017 versions 15.3 and above bind the TypeScript version to individual projects, as this answer points out:

  1. Right click on the project node in Solution Explorer
  2. Click Properties
  3. Go to the TypeScript Build tab
Answer from basarat on Stack Overflow
🌐
Graphite
graphite.com › guides › typescript-versioning
TypeScript versioning
To check the version of TypeScript installed on your system, you can run the following command in your terminal: ... This command invokes the TypeScript compiler (tsc) with the --version flag, which outputs the version of TypeScript currently ...
🌐
Wikipedia
en.wikipedia.org › wiki › TypeScript
TypeScript - Wikipedia
2 weeks ago - With TypeScript, it is possible ... with the source code but can be declared or installed separately if needed. The TypeScript compiler, named tsc......
Top answer
1 of 9
376

Can TypeScript be updated automatically?

VS Code ships with a recent stable version of TypeScript.

– from VS Code docs

This means there's no way to automatically upgrade the TypeScript version used by VS Code. You can however override the TypeScript version VS Code uses by modifying either the user settings or the workspace settings.


What TypeScript version is VS Code using?

When you open a TypeScript file, VS Code should display the TypeScript version in the status bar at the bottom right of the screen:

In newer versions (or when the status bar is crowded?) you may have to hover the mouse over the {} next to TypeScript to see a pop-up with the information:

Changing the global TypeScript version

  1. Install the desired TypeScript version globally, for example npm install -g [email protected]
  2. Open VS Code User Settings (F1 > Open User Settings)
  3. Update/Insert "typescript.tsdk": "{GLOBAL_NPM_PATH}/typescript/lib"

Tip: You can find out {GLOBAL_NPM_PATH} by running npm root -g.

Now all of the projects you open with VS Code will use this TypeScript version, unless of course there is a workspace setting that overrides this.


Changing the local TypeScript version

  1. Open the project in VS Code

  2. Install the desired TypeScript version locally, for example npm install --save-dev [email protected]

    The --save-dev will update your project's package.json, adding the TypeScript version you installed as a devDependency.

  3. Open VS Code Workspace Settings (F1 > Open Workspace Settings)

  4. Update/Insert "typescript.tsdk": "./node_modules/typescript/lib"

    Now only the project you installed this TypeScript version in will use that TypeScript version, the global installation will be ignored by VS Code in this project.

  5. Having added the typescript.tsdk entry it's then also necessary to use the VS Code UI to select the new version:

    • Click on the version displayed in the VS Code footer:

    • Select it in the UI:


See also:

  • Using newer TypeScript versions
  • Improve documentation for typescript.tsdk to make workspace usage clearer
2 of 9
39

Visual Studio Code comes with its own stable version of TypeScript but you can switch to a newer version as described in their docs

VS Code ships with a recent stable version of TypeScript. If you want to use a newer version of TypeScript, you can define the typescript.tsdk setting (File > Preferences > User/Workspace Settings) pointing to a directory containing the TypeScript tsserver.js file.
...
For example:

{
   "typescript.tsdk": "node_modules/typescript/lib"
}
🌐
daily.dev
daily.dev › home › blog › get into tech › npm tsc and typescript projects
Npm tsc and TypeScript Projects
February 4, 2025 - Have the transpiler work on the JavaScript that comes out of tsc, not the original TypeScript. Pick settings on your transpiler that match the old browsers or Node.js versions you need to support.
🌐
TypeScript TV
typescript.tv › course › 04-configuring-typescript
TypeScript TV
Next, configure the tsconfig.json file with a deprecated TypeScript feature, such as (importsNotUsedAsValues). With TypeScript version 4 globally installed, you will be able to compile the code using the tsc command.
🌐
EDUCBA
educba.com › home › software development › software development tutorials › typescript tutorial › typescript version check
TypeScript Version Check | Example | TypeScript Versions
April 18, 2023 - You can also use any IDE platforms to check the TypeScript versions. It is the same as above mentioned. Just open the IDE terminal and type in tsc -v and version will be displayed.
Address   Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
🌐
GitHub
github.com › SpacingBat3 › WebCord › issues › 38
Deprecated `tsc` package alongside `typescript` in `package.json` · Issue #38 · SpacingBat3/WebCord
February 6, 2021 - > [email protected] start > tsc && electron-forge start error TS5023: Unknown compiler option 'allowJs'. error TS5023: Unknown compiler option 'baseUrl'. error TS5023: Unknown compiler option 'moduleResolution'. error TS5023: Unknown compiler option 'pretty'. error TS5023: Unknown compiler option 'paths'.
Published   Mar 26, 2021
🌐
npm
npmjs.com › package › typescript-compiler
typescript-compiler - npm
March 11, 2015 - $ tsc Version 1.1.0.1 Syntax: tsc [options] [file ...] Examples: tsc hello.ts tsc --out foo.js foo.ts tsc @args.txt Options: -d, --declaration Generates corresponding '.d.ts' file.
      » npm install typescript-compiler
    
Published   Mar 11, 2015
Version   1.4.1-2
Author   The Blacksmith
🌐
Microsoft Developer Blogs
devblogs.microsoft.com › dev blogs › typescript › a 10x faster typescript
A 10x Faster TypeScript - TypeScript
March 11, 2025 - The native implementation will drastically improve editor startup, reduce most build times by 10x, and substantially reduce memory usage. By porting the current codebase, we expect to be able to preview a native implementation of tsc capable of command-line typechecking by mid-2025, with a feature-complete solution for project builds and a language service by the end of the year.