This content originally appeared on DEV Community and was authored by Damian Brdej
1. Install node
Firstly you have to install node, if you haven't done that yet just type these two commands:
curl -fsSL https://deb.nodesource.com/setup_15.x | sudo -E bash -
sudo apt-get install -y nodejs
2. Install TypeScript
When your node is installed, you can proceed to install TypeScript:
npm install -g typescript
3. Check if everything works
Now check if everything working properly by typing this simple command:
tsc
You should see a version of TypeScript you just install, and a list of options for tsc
command.
This content originally appeared on DEV Community and was authored by Damian Brdej
Damian Brdej | Sciencx (2021-04-14T20:47:23+00:00) How to install typescript on Ubuntu. Retrieved from https://www.scien.cx/2021/04/14/how-to-install-typescript-on-ubuntu/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.