Skip to content

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

fix INSTALL_DIR scoping in install.sh, use cross-platform cloudflared fix in doctor

ShawnPana77bbfbbb6605
diff --git a/browser_use/skill_cli/commands/doctor.py b/browser_use/skill_cli/commands/doctor.py
index 77c15a212..42021b3db 100644
--- a/browser_use/skill_cli/commands/doctor.py
+++ b/browser_use/skill_cli/commands/doctor.py
@@ -114,7 +114,7 @@ def _check_cloudflared() -> dict[str, Any]:
return {
'status': 'missing',
'message': 'cloudflared not installed (needed for browser-use tunnel)',
- 'fix': 'brew install cloudflared',
+ 'fix': 'Install cloudflared: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/',
}
diff --git a/browser_use/skill_cli/install.sh b/browser_use/skill_cli/install.sh
index 38940523c..c01a8bd84 100755
--- a/browser_use/skill_cli/install.sh
+++ b/browser_use/skill_cli/install.sh
@@ -361,7 +361,7 @@ install_profile_use() {
log_info "Installing profile-use..."
mkdir -p "$HOME/.browser-use/bin"
- INSTALL_DIR="$HOME/.browser-use/bin" curl -fsSL https://browser-use.com/profile/cli/install.sh | sh
+ curl -fsSL https://browser-use.com/profile/cli/install.sh | INSTALL_DIR="$HOME/.browser-use/bin" sh
if [ -x "$HOME/.browser-use/bin/profile-use" ]; then
log_success "profile-use installed"