Navigate back to the homepage

how to check current typescript version?

Infinitbility
TypeScript
September 13th, 2022 · 1 min read
how to check current typescript version?

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

1npm 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 👍.

Follow me on Twitter

Join our email list and get notified about new content

No worries, I respect your privacy and I will never abuse your email.

Every week, on Tuesday, you will receive a list of free tutorials I made during the week (I write one every day) and news on other training products I create.

Looking For React Native Tutorial?

we are trying to create the best Tutorial for react native developers.

When you want a daily updates about React Native Tutorial or infinitbility update subscribe to our newsletter.

Read React Native Tutorial

Request New Tutorial or Article on mail [email protected]

Guide book

Guidebook: The Javascript Monorepo Photoshop Guide

Tutorials

Categories

More articles from Infinitbility

how to check data type in react native?

how to check data type in react native?

An example of check data type in react native with the step-by-step guide.

September 8th, 2022 · 1 min read
how to check null value in react native?

how to check null value in react native?

An example of check null value in react native with the step-by-step guide.

September 8th, 2022 · 1 min read
© 2020–2022 Infinitbility
About
Link to $https://medium.com/infinitbilityLink to $https://www.facebook.com/InfinitbilityLink to $https://github.com/infinitbilityLink to $https://twitter.com/infinitbilityLink to $https://www.buymeacoffee.com/infinitbilityLink to $mailto:[email protected]