Getting your TypeScript environment set up correctly is the single most important first step on your coding journey — and most beginners get stuck right here. This video walks you through everything: installing Node.js the right way, setting up Visual Studio Code with the perfect extensions, and writing, compiling, and running your very first TypeScript file. By the end, you'll have a working setup you can use for every project from here on.
We cover what Node.js and npm actually are, how to verify your installation works, installing the TypeScript compiler, configuring a tsconfig.json file, the difference between a .ts and .js file, and how the compiler turns your TypeScript into runnable JavaScript. We also show you the smoothest way to run TypeScript directly using modern tooling, so you don't waste time on slow workflows. Everything is shown with real terminal commands and real code in VS Code — no hand-waving.
If this helped you get unstuck, hit subscribe and follow the full TypeScript track playlist from the very beginning. Drop a comment with your biggest setup struggle — whether it's a PATH error, a permissions issue, or something else — and we'll help you out. Let's build your foundation the right way.
─────────────────────────────
📚 CHAPTERS
00:00 Introduction
00:00 What we're building toward
00:40 Meet Node.js and npm
01:25 Installing Node.js
02:15 Verifying the install
03:00 Installing VS Code
03:40 Setting up your project folder
04:30 Installing TypeScript
05:20 Creating tsconfig.json
06:15 Writing your first .ts file
07:10 Seeing types catch a bug
08:00 Compiling with tsc
08:50 Running your program
09:30 A faster workflow with tsx
10:20 Adding npm scripts
─────────────────────────────
🔗 LINKS
📺 Full Course Playlist: / @sukridlearnhub
🌐 Website: https://www.sukrid.com/learnhub
─────────────────────────────
⚡ SUKRID LEARNHUB
Free technology education — AI, TypeScript, React, Next.js, Node.js, Golang, and Engineering.
New videos regularly. All content free, forever.
#typescript #typescript tutorial #typescript setup #install nodejs #vs code setup