diff --git a/deployment/bare_metal/start.sh b/deployment/bare_metal/start.sh index c8985bca6..5b9d2476a 100755 --- a/deployment/bare_metal/start.sh +++ b/deployment/bare_metal/start.sh @@ -12,8 +12,9 @@ then sudo apt-get install -y unzip fi echo "'bun' is missing, will be installed now!" - curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr/local bash - export PATH="/root/.bun/bin:${PATH}" + curl -fsSL https://bun.sh/install | bash + export BUN_INSTALL="$HOME/.bun" + export PATH="$BUN_INSTALL/bin:$PATH" fi # turbo https://turborepo.com/docs/getting-started if ! command -v turbo &> /dev/null