I installed globally as told here https://code.visualstudio.com/docs/typescript/typescript-compiling
npm install -g typescript
both inside vscode and outside, though it installed, tsc --version doesn't work : tsc is not recognized.
I have no problem outside Windows Sandbox https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-sandbox/windows-sandbox-overview
So is there a fix in this context ?
you need to update the typescript with this command
then tsc will be recognized
source : https://bobbyhadz.com/blog/typescript-tsc-command-not-found