Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Ubuntu - Install Typescript

For now I just know of the one main way to install Typescript, but as and when I find out more ways, such as a PPA, I'll post them here.

Steps

Ubuntu 16.04 and 18.04 - Native Packages

sudo apt update && sudo apt install node-typescript -y

Using Node

sudo npm install -g typescript

Install Specific Version

sudo npm install -g typescript@2.9.2

Update To Latest Version

sudo npm install -g typescript@latest

References

Last updated: 10th November 2021
First published: 16th August 2018