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

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch