diff --git a/docs/runtime/bunfig.md b/docs/runtime/bunfig.md index 8a19be1ce510f5..f88d995bfeb321 100644 --- a/docs/runtime/bunfig.md +++ b/docs/runtime/bunfig.md @@ -335,6 +335,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 @@ -345,6 +347,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"