Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

feat: install.sh creates config.json on install

ShawnPanae7dfbd23aed6
diff --git a/browser_use/skill_cli/install.sh b/browser_use/skill_cli/install.sh
index b0ebf382c..41bb40713 100755
--- a/browser_use/skill_cli/install.sh
+++ b/browser_use/skill_cli/install.sh
@@ -528,6 +528,13 @@ main() {
# Step 6: Install profile-use
install_profile_use
+ # Step 6.5: Create config.json if it doesn't exist
+ config_file="$HOME/.browser-use/config.json"
+ if [ ! -f "$config_file" ]; then
+ echo '{}' > "$config_file"
+ chmod 600 "$config_file"
+ fi
+
# Step 7: Configure PATH
configure_path