{"name":"BUN_INSTALL","slug":"bun-install","family":"env","title":"Environment variables","noun":"environment variable","description":"Read by the auto-updater for npm-style global installs. When the running executable's path starts with `$BUN_INSTALL\/install\/global\/` (or contains `\/.bun\/install\/global\/`), the install is treated as a bun global install, so the update runs `bun install -g` and checks the global bin directory with `bun pm bin -g` instead of using npm.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[],"entries_total":0,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"BUN_CHROME_PATH","slug":"bun-chrome-path","description":"Preview refuses any Chrome binary sitting somewhere the session could have written to."},{"name":"BUN_CONFIG_FILE","slug":"bun-config-file","description":null}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/bun-install","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}