Skip to content

Commit 751eaa8

Browse files
bartlomiejuclaude
andcommitted
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) <noreply@anthropic.com>
1 parent 2fed5bc commit 751eaa8

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

runtime/getting_started/installation.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,24 @@ executable bit on macOS and Linux.
205205
For more information and instructions on the official Docker images:
206206
[https://github.com/denoland/deno_docker](https://github.com/denoland/deno_docker)
207207

208+
## Installation location
209+
210+
When installed using the shell script or PowerShell script, Deno is placed in
211+
the following default location:
212+
213+
| Platform | Default path |
214+
| ------------- | ---------------------------------- |
215+
| macOS / Linux | `$HOME/.deno/bin/deno` |
216+
| Windows | `%USERPROFILE%\.deno\bin\deno.exe` |
217+
218+
You can customize the install directory by setting the `DENO_INSTALL`
219+
environment variable before running the install script. The Deno cache directory
220+
(where downloaded dependencies are stored) defaults to `$DENO_DIR` or
221+
`$HOME/.cache/deno` on macOS/Linux and `%LOCALAPPDATA%/deno` on Windows.
222+
223+
When installed via a package manager (Homebrew, Scoop, etc.), the binary
224+
location is managed by that package manager.
225+
208226
## Testing your installation
209227

210228
To test your installation, run `deno --version`. If this prints the Deno version

0 commit comments

Comments
 (0)