How to install TypeScript and Node.js? -- TypeScript Tutorial for beginners
TypeScript is an open-source programming language, developed and maintained by Microsoft, and hosted in GitHub.
This post will cover how to install Node.js and then proceed with installation of TypeScript using the Node Package Manager.
👉 TypeScript Tutorial - Getting started with TypeScript
To get started with TypeScript installation, you need to first install Node.js
in your system. Node.js
is an asynchronous event driven JavaScript runtime, built on Chrome's V8 JavaScript engine, which uses non-blocking I/O model that makes it lightweight and efficient to build scalable network applications.
The installer comes with Node
and npm
, where npm
is the package manager for JavaScript. It consists of a command line client and an online database, called
Node.js Installation
To begin with Node.js
installation, head over to https://nodejs.org/en/ in your browser window, where you will see a page like the following one. The installer under the
Once downloaded, double-click on the installer file and follow the step-by-step process to install the Node.js
in your computer. Make sure that the
Now open any Console Window (cmd.exe
) and type the following command: node -v
to confirm whether the installation was successful. This will return the installed version number in the console output, which is v10.0.0
in our case. If everything looks good, proceed with the next point to install TypeScript.
TypeScript Installation
As you have already installed cmd.exe
) and enter the following command in the prompt:
This will download the latest version from the server, extract it and install on your system. A progress indicator will be shown, marking the current progress of the installation. Here's the screenshot of the final output, for your reference:
Once you are done with the installation, type tsc
in the command prompt and hit
TypeScript Installation using Visual Studio 2017
If you are using Visual Studio 2017, you can simply install it to your Visual Studio IDE from the Visual Studio 2017 installer. Run the installer and click
What's Next?
That's all for today. In the next post we will learn more about TypeScript and begin with app development using it. Till then, enjoy reading my other articles/posts.
👉 TypeScript Tutorial - Getting started with TypeScript

Why not reach little more and connect with me directly on Twitter, Facebook and LinkedIn. I would love to hear your thoughts and opinions.