https://garden.io logo
#💻|dev
For Empathy Sessions previous to Bonsai
# 💻|dev
q

quaint-dress-831

05/26/2023, 9:20 AM
For Empathy Sessions previous to Bonsai's release I've been having users test with
Copy code
sh
TEMP_DIR=$(mktemp -d)
curl -sSL https://github.com/garden-io/garden/releases/download/edge-bonsai/garden-edge-bonsai-macos-amd64.tar.gz | tar xz -C $TEMP_DIR
mkdir -p $HOME/.garden/bin
rm -rf $HOME/.garden/bin/*
mv $TEMP_DIR/macos-amd64/* $HOME/.garden/bin
grep -qxF 'export PATH=$HOME/.garden/bin:$PATH' "$HOME/.zshrc" || echo 'export PATH=$HOME/.garden/bin:$PATH' >> "$HOME/.zshrc"
rm -r $TEMP_DIR
source $HOME/.zshrc
do we want to change this command now that Bonsai is released? What do we want them finding bugs and papercuts in?
c

calm-family-29323

05/26/2023, 9:37 AM
haha that looks fancy, but you can just use brew or whatever to install and then
garden self-update
to change versions after that quite reliably
p

purple-oyster-28927

05/26/2023, 9:50 AM
probably
curl -sL https://get.garden.io/install.sh | bash
since
brew
is mostly for Macs
q

quaint-dress-831

05/26/2023, 11:07 AM
But we do still want them on Bonsai edge?
p

purple-oyster-28927

05/26/2023, 1:21 PM
garden self-update edge-bonsai
gets them there then