Hi Friends đź‘‹,

Welcome To Infinitbility! ❤️

Check the global level of the typeScript version

To check the current typescript version, open your terminal and run the tsc -v command it will show the current global version of TypeScript.

Check TypeScript Version
Check TypeScript Version

Getting error tsc not found

You run the above command tsc -v but it shows the error 'tsc' not recognized as an internal or external command, it means typeScript does not install global level on your PC.

TypeScript Not Installed
TypeScript Not Installed

So, to install typeScript we have the below a command

npm install -g typescript
TypeScript Installed
TypeScript Installed

Check project level of typeScript version

To check the project level of the typeScript version, go to your project and check the package.json file.

If you get typescript in your package.json file then your project is running a mentioned version of TypeScript.

else it’s running on your global level typeScript version.

Project level version of TypeScript
Project level version of TypeScript

I hope it helps you, All the best đź‘Ť.