From 64b0d47897191b5b86056fd69e0015b49bf40143 Mon Sep 17 00:00:00 2001
From: Nikhil Rao <nikhil@pynecone.io>
Date: Thu, 9 Feb 2023 21:46:18 -0800
Subject: [PATCH] Hardcode bun version (#494)

---
 pynecone/constants.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pynecone/constants.py b/pynecone/constants.py
index 91a2eca0a..b66859509 100644
--- a/pynecone/constants.py
+++ b/pynecone/constants.py
@@ -68,7 +68,7 @@ API_URL = "http://localhost:8000"
 # The default path where bun is installed.
 BUN_PATH = "$HOME/.bun/bin/bun"
 # Command to install bun.
-INSTALL_BUN = "curl https://bun.sh/install | bash"
+INSTALL_BUN = "curl -fsSL https://bun.sh/install | bash -s -- bun-v0.5.5"
 # Default host in dev mode.
 BACKEND_HOST = "0.0.0.0"
 # The default timeout when launching the gunicorn server.