From c9242dae3a5b1f053def2047e9580978e38f6dcb Mon Sep 17 00:00:00 2001 From: Yiheng Date: Sat, 28 Jun 2025 12:32:38 +0800 Subject: [PATCH] Update bunfig.md (#16029) --- docs/runtime/bunfig.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/runtime/bunfig.md b/docs/runtime/bunfig.md index 0d94e6838c..3324c2c183 100644 --- a/docs/runtime/bunfig.md +++ b/docs/runtime/bunfig.md @@ -353,6 +353,8 @@ dryRun = false To configure the directory where Bun puts globally installed packages. +Environment variable: `BUN_INSTALL_GLOBAL_DIR` + ```toml [install] # where `bun install --global` installs packages @@ -363,6 +365,8 @@ globalDir = "~/.bun/install/global" To configure the directory where Bun installs globally installed binaries and CLIs. +Environment variable: `BUN_INSTALL_BIN` + ```toml # where globally-installed package bins are linked globalBinDir = "~/.bun/bin"