A few tips in order

  • restart the terminal
  • restart the machine
  • reinstall nodejs + then run npm install typescript -g

If it still doesn't work run npm config get prefix to see where npm install -g is putting files (append bin to the output) and make sure that they are in the path (the node js setup does this. Maybe you forgot to tick that option).

Answer from basarat on Stack Overflow
Discussions

Typescript tsc does nothing
Hi, I am trying to build my Typescript project, but when the config runs the build script: node_modules/bin/tsc, it doesn’t create the dist as specified in the tsconfig.json. Any Ideas why? Regards, Mike More on discuss.circleci.com
🌐 discuss.circleci.com
0
February 24, 2019
Typescript: This is not the tsc command you are looking for
During the deployment of my Express.js application with TypeScript on render.com, I encountered an error. Here’s the error log: ==> Using Node version 20.12.0 (default) Mar 28 05:05:24 PM==> Docs on specifying a Node v… More on community.render.com
🌐 community.render.com
0
March 28, 2024
Do you use tsc in a production environment? Seems like everyone uses a third-party transpiler.
I usually have a tsc —noEmit in precommit/build steps for type checking, but transpilation is handled by other tools. More on reddit.com
🌐 r/typescript
20
14
May 12, 2024
pro-tip: if you constantly need to restart tsc/eslint, adjust VSCode memory settings : typescript
🌐 r/typescript
🌐
React
react.dev › learn › typescript
Using TypeScript – React
TypeScript is a popular way to add type definitions to JavaScript codebases.
🌐
TypeScript
typescriptlang.org › docs › handbook › 2 › basic-types.html
TypeScript: Documentation - The Basics
All of this is built on top of the type-checker and is fully cross-platform, so it’s likely that your favorite editor has TypeScript support available. We’ve been talking about type-checking, but we haven’t yet used our type-checker. Let’s get acquainted with our new friend tsc, the TypeScript compiler.
🌐
npm
npmjs.com › package › typescript
typescript - npm
September 30, 2025 - TypeScript is a language for application scale JavaScript development. Latest version: 5.9.3, last published: 2 months ago. Start using typescript in your project by running `npm i typescript`. There are 61788 other projects in the npm registry ...
      » npm install typescript
    
Published   Sep 30, 2025
Version   5.9.3
Author   Microsoft Corp.
Find elsewhere
🌐
Medium
medium.com › @seanbridger › typescript-basics-1-10-typescript-compiler-tsc-and-tsconfig-f9bf0134c5eb
TypeScript Basics (1/10): TypeScript Compiler(tsc) and tsconfig | by Likely Coder | Medium
November 24, 2023 - It takes TypeScript code (.ts or .tsx files) and compiles it into JavaScript code (.js files) that can be executed by a JavaScript runtime. ... After installing tsc, you can compile TypeScript files by running the following command in your terminal:
🌐
egghead.io
egghead.io › lessons › typescript-understand-the-typescript-compiler-aka-tsc
Understand the TypeScript Compiler AKA tsc | egghead.io
The TypeScript Compiler (also known as "tsc") is the backbone of many bundlers, plugins, and tools that work with TypeScript. While we don't often invoke tsc directly, we do configure how tsc behaves inside of the bundlers that we use.
Published   December 5, 2018
🌐
Medium
medium.com › @leroyleowdev › understanding-the-typescript-compiler-and-its-options-63bbc3c494ab
Understanding the TypeScript Compiler and Its Options | by Leroy Leow | Medium
January 18, 2025 - The TypeScript compiler, often referred to as tsc, is responsible for compiling TypeScript code into JavaScript. It takes TypeScript source…
🌐
W3Schools
w3schools.com › typescript › typescript_getstarted.php
TypeScript Getting Started
TypeScript has an official compiler which can be installed through npm. Learn more about npm, and how to get started here: What is npm? Within your npm project, run the following command to install the compiler: ... The compiler is installed in the node_modules directory and can be run with: npx tsc...
🌐
CircleCI
discuss.circleci.com › build environment › programming languages
Typescript tsc does nothing - Programming Languages - CircleCI Discuss
February 24, 2019 - Hi, I am trying to build my Typescript project, but when the config runs the build script: node_modules/bin/tsc, it doesn’t create the dist as specified in the tsconfig.json. Any Ideas why? Regards, Mike
🌐
Render
community.render.com › t › typescript-this-is-not-the-tsc-command-you-are-looking-for › 20334
Typescript: This is not the tsc command you are looking for - Render
March 28, 2024 - During the deployment of my Express.js application with TypeScript on render.com, I encountered an error. Here’s the error log: ==> Using Node version 20.12.0 (default) Mar 28 05:05:24 PM==> Docs on specifying a Node version: https://render.com/docs/node-version Mar 28 05:05:25 PM==> Running build command 'npm i && npm run build'...
🌐
Reddit
reddit.com › r/typescript › do you use tsc in a production environment? seems like everyone uses a third-party transpiler.
r/typescript on Reddit: Do you use tsc in a production environment? Seems like everyone uses a third-party transpiler.
May 12, 2024 -

I'm wondering what the use-cases are for tsc as a transpiler, since it seems like almost everyone uses a third-party one. I'd prefer to use tsc instead of relying on an additional dependency, but find it too restrictive. This has me wondering: who does use it?

To be clear: I understand the use-case for tsc as a type-checker, just not as a transpiler.

Edit: I should have specified: this question is about transpiling with tsc for front-end code, not back-end code.

🌐
Visual Studio Code
code.visualstudio.com › docs › typescript › typescript-compiling
Compiling TypeScript
November 3, 2021 - You can also define the TypeScript build task as the default build task so that it is executed directly when triggering Run Build Task (⇧⌘B (Windows, Linux Ctrl+Shift+B)). To do so, select Configure Default Build Task from the global Terminal menu. This shows you a picker with the available build tasks. Select TypeScript tsc: build, which generates the following tasks.json file in a .vscode folder:
🌐
TypeScript Execute
tsx.is
TypeScript Execute (tsx) | tsx
tsx (TypeScript Execute) - The easiest way to run TypeScript in Node.js
🌐
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.
🌐
Microsoft Learn
learn.microsoft.com › en-us › visualstudio › javascript › compile-typescript-code-npm
Compile and build TypeScript code using npm - Visual Studio (Windows) | Microsoft Learn
June 24, 2025 - You can use this file to configure options for the TypeScript compiler. Open tsconfig.json and update to set the compiler options that you want.
🌐
TypeScript
typescriptlang.org › tsconfig
TypeScript: TSConfig Reference - Docs on every TSConfig option
In this case, you can tell the TypeScript file resolver to support a number of custom prefixes to find code. Note that this feature does not change how import paths are emitted by tsc, so paths should only be used to inform TypeScript that another tool has this mapping and will use it at runtime or when bundling.
🌐
Simon Willison
til.simonwillison.net › typescript › basic-tsc
Very basic tsc usage | Simon Willison’s TILs
VSCode has built-in TypeScript support. Hit Shift+Command+B and select the tsc: watch option and it runs that watch command in a embedded terminal pane inside the editor itself.
🌐
Datacadamia
datacadamia.com › web › javascript › typescript › tsc
Typescript - tsc (official compiler)
August 30, 2024 - tsc is the official compiler that transform/compile a typescript file into a javascript script Locally for a project Global With the global tsc cli With the playground In the browser: The typescript compiler is written in Typescript, so you can load the compiler (typescript.js) into your browser ...