I am trying to install bun to wsl and have already added
BUN_INSTALL="/home/jack/.bun"
and
PATH="$BUN_INSTALL/bin:$PATH"
to
$HOME/.bashrc
and when I do bun -v the error shows up.
I am trying to install bun to wsl and have already added
BUN_INSTALL="/home/jack/.bun"
and
PATH="$BUN_INSTALL/bin:$PATH"
to
$HOME/.bashrc
and when I do bun -v the error shows up.
You might need to upgrade your WSL Ubuntu version. A version that works with Bun is 22.04.
You can check your current version inside a Ubuntu terminal: lsb_release -a
To update:
Then proceed to reinstall Bun:
sudo apt install unzip
curl https://bun.sh/install | bash
There's a post about it here