Thanks in advance for any help. I'm using bun in visual studio code on macos (Sonoma 14.2). I run
curl -fsSL https://bun.sh/install | bash
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
In the visual studio code terminal. Bun is installed as expected. If I then close and reopen visual studio code, bun no longer exists: zsh: command not found: bun.
The same thing happens if I use the default macos "terminal" app. I can install it and run it fine, but as soon as I close and reopen the app, I have to reinstall it.
This is probably just me not knowing how macos works, but at the very least your installation instructions could use more idiot-proofing for people like me. Thanks again.