Deno - Modern JavaScript/TypeScript Runtime
Install and use Deno, the secure next-generation JavaScript/TypeScript runtime with built-in TypeScript support, zero-config tooling, web-standard APIs, and enterprise-grade security — covering installation, configuration, CLI tools, and common use cases.
- Step 1
Overview
Deno is a modern, secure runtime for JavaScript and TypeScript built on web standards. Created by Ryan Dahl (the original creator of Node.js), Deno addresses many of Node.js's architectural challenges while adding powerful new features.
Key Features:
- Secure by Default: No file system, network, or environment access unless explicitly granted
- TypeScript First: Native TypeScript support with zero configuration
- Web Standards: Built on web APIs that work the same in browser and server
- Complete Tooling: Built-in test runner, formatter, linter, and documentation generator
- Single Binary: No external dependencies, downloads in seconds
- Node Compatibility: Seamless npm package and Node.js built-in module support
- Modern Architecture: Based on V8, libuv, and Rust with async/await
- Enterprise Ready: Production deployments at Netflix, GitHub, Supabase, Stripe, Slack, and 400k+ users
Why Deno:
- Security: Sandboxed by default, explicit permissions
- Developer Experience: Zero-config TypeScript, built-in tools
- Web Standards: Future-proof APIs that match the browser
- Performance: Fast startup, efficient execution
- Simplicity: One binary, no complex dependency management
Official site: https://deno.com GitHub: https://github.com/denoland/deno (100K+ stars) Documentation: https://docs.deno.com JSR Package Registry: https://jsr.io Deno Deploy (Edge Platform): https://deno.com/deploy - Step 2
Quick Installation
Deno runs on macOS, Linux, and Windows. It's a single binary with no external dependencies.
Supported platforms:
- macOS: Intel (x64) and Apple Silicon (arm64)
- Windows: x64 and ARM64
- Linux: x64
Installation methods:
- Shell script (recommended) - fastest, best performance
- npm - convenient but slower startup
- Homebrew (macOS) - macOS package management
- Other package managers - Nix, asdf, vfox
# Option 1: Shell Script (Recommended) # Fastest startup, best performance curl -fsSL https://deno.land/install.sh | sh # Option 2: npm (Convenient but slower startup) npm install -g deno # Option 3: Homebrew (macOS only) brew install deno # Option 4: asdf Version Manager asdf plugin add deno https://github.com/asdf-community/asdf-deno.git asdf install deno latest asdf set -u deno latest # Option 5: vfox Version Manager vfox add deno vfox install deno@latest vfox use --global deno # Option 6: Nix nix-shell -p deno # Option 7: Cargo (from source) cargo install deno --locked # Option 8: Winget (Windows) winget install DenoLand.Deno # Verify installation deno --version # Should print something like: deno 2.0.x # View the help documentation deno help
Feature requests
Sign in to suggest features or vote on existing ones.
No feature requests yet.
Discussion
Sign in to join the discussion.
No comments yet.