From 54374a76db187fdb3d318890dc2ec17e67f7e26f Mon Sep 17 00:00:00 2001 From: Yiheng Date: Sat, 28 Dec 2024 16:00:11 +0800 Subject: [PATCH] Update bunfig.md --- docs/runtime/bunfig.md | 4 ++++ 1 file changed, 4 insertions(+) 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"