# How to fix Bunjs broken —global download

Generalized version of [@isaced](https://github.com/oven-sh/bun/issues/2626#issuecomment-1788622602)'s solution

* `touch ~/.zprofile` if not exists
* Append the below to `~/.zprofile` with `open ~/.zprofile` command

```bash
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
```
