From 751eaa8728de87952e66b7af4d2fc7545a541320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 8 Apr 2026 08:56:54 +0200 Subject: [PATCH] docs: document default installation paths Adds a section explaining where Deno is installed by default on each platform, how to customize the install directory, and where the cache is stored. Closes #2799 Co-Authored-By: Claude Opus 4.6 (1M context) --- runtime/getting_started/installation.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/runtime/getting_started/installation.md b/runtime/getting_started/installation.md index 4cc474fdb..20eb6d0ea 100644 --- a/runtime/getting_started/installation.md +++ b/runtime/getting_started/installation.md @@ -205,6 +205,24 @@ executable bit on macOS and Linux. For more information and instructions on the official Docker images: [https://github.com/denoland/deno_docker](https://github.com/denoland/deno_docker) +## Installation location + +When installed using the shell script or PowerShell script, Deno is placed in +the following default location: + +| Platform | Default path | +| ------------- | ---------------------------------- | +| macOS / Linux | `$HOME/.deno/bin/deno` | +| Windows | `%USERPROFILE%\.deno\bin\deno.exe` | + +You can customize the install directory by setting the `DENO_INSTALL` +environment variable before running the install script. The Deno cache directory +(where downloaded dependencies are stored) defaults to `$DENO_DIR` or +`$HOME/.cache/deno` on macOS/Linux and `%LOCALAPPDATA%/deno` on Windows. + +When installed via a package manager (Homebrew, Scoop, etc.), the binary +location is managed by that package manager. + ## Testing your installation To test your installation, run `deno --version`. If this prints the Deno version