

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Install TypeScript
incomplete
2: tsconfig.json
incomplete
3: More tsconfig.json
incomplete
4: Declaration Files
incomplete
5: Using JS Libraries
incomplete
6: TypeScript Language Server
incomplete
7: TypeScript Ignore
incomplete
8: Vanilla Vite
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
We've been doing a ton of TypeScript work in the browser, let's drop down to your machine for this last chapter.
I'm going to assume you already have node and npm installed, if you don't go do that now. We cover all that in our Learn JavaScript course.
npm install -g typescript
tsc -v
If you don't get back a valid version, either your installation might have failed, or the install location is not in your PATH. For example, for myself on Mac, tsc is in /Users/wagslane/.nvm/versions/node/v20.11.1/bin, so I just need to ensure my PATH includes that directory.
Run and submit the CLI tests.