Overview - Running your first Deno program
What is it?
Deno is a modern runtime for JavaScript and TypeScript that lets you run code outside the browser. Running your first Deno program means writing a simple script and executing it using the Deno command-line tool. This introduces you to how Deno works and how it differs from older runtimes. It is the first step to building applications with Deno.
Why it matters
Before Deno, running JavaScript outside the browser was mostly done with Node.js, which has some legacy issues and security concerns. Deno solves these by being secure by default and supporting TypeScript natively. Without Deno, developers would miss out on a simpler, safer, and more modern way to run scripts and build apps. Learning to run your first program unlocks the door to this new ecosystem.
Where it fits
You should know basic JavaScript or TypeScript syntax before starting. After learning to run your first program, you can explore Deno's built-in tools, permissions system, and how to build web servers or scripts. This topic is an early step in learning Deno and modern JavaScript runtimes.
