DEV Community

Cover image for Install Deno 2.0 in your systems
Vansh Chaurasiya
Vansh Chaurasiya

Posted on

Install Deno 2.0 in your systems

๐Ÿš€ Installing Deno on Windows: A Quick Guide

Hey there, folks! ๐Ÿ‘‹

Ready to dive into Deno? Letโ€™s get started with installing this fantastic runtime on your Windows machine. Itโ€™s super easy, and Iโ€™ll guide you step by step!

๐Ÿ”ง Step 1: Open PowerShell

First things first, youโ€™ll need PowerShell. Follow these steps:

  1. Click on the Start button, search for PowerShell, and open it up.
  2. Now, you're ready to install Deno!

๐Ÿš€ Step 2: Install Deno

Letโ€™s install Deno with a single command. Just type or copy-paste the following command in your PowerShell:

irm https://deno.land/install.ps1 | iex
Enter fullscreen mode Exit fullscreen mode
  • Press Enter and let the magic happen! ๐Ÿ”ฎโœจ
  • It will automatically download and install Deno for you.

๐Ÿงช Step 3: Verify the Installation

Now, let's make sure everything went smoothly. To check if Deno is installed correctly, run:

deno --version
Enter fullscreen mode Exit fullscreen mode

OR

deno -v
Enter fullscreen mode Exit fullscreen mode

If everything is in place, you'll see something like this:

deno 1.x.x (release date)
v8 x.x.x
typescript x.x.x
Enter fullscreen mode Exit fullscreen mode

๐ŸŽ‰ Congratulations! You now have Deno installed on your system! Youโ€™re all set to start building amazing things with Deno!


๐Ÿ“ Why Choose Deno?

Deno is a secure, modern runtime for JavaScript and TypeScript, created by the same person who originally built Node.js. It's designed to offer better security and a cleaner, more powerful API, all with TypeScript support out of the box. Here are a few perks:

  • Built-in TypeScript support ๐ŸŽฏ
  • Security by default ๐Ÿ”’ (No file, network, or environment access without explicit permission)
  • Modern features like ES modules ๐Ÿ“ฆ
  • One executable to manage dependencies and scripts

๐Ÿ’ก Whatโ€™s Next?

Now that Deno is installed, youโ€™re ready to start your journey! ๐Ÿš€

Try out your first Deno script by creating a file, say app.ts, and running:

deno run app.ts
Enter fullscreen mode Exit fullscreen mode

Or, check out the official Deno documentation for more tutorials and inspiration! ๐Ÿ“šโœจ

Feel free to share your thoughts, or if you hit a snag, drop a comment below. Let's build something awesome! ๐Ÿ’ป๐Ÿ”ฅ


Happy coding with Deno! ๐Ÿ’™

Top comments (0)