Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
fix(cli): update install script URL to /cli/install.sh
ShawnPana79e91e6adfee
diff --git a/browser_use/skill_cli/README.md b/browser_use/skill_cli/README.mdindex 82377c209..15d338256 100644--- a/browser_use/skill_cli/README.md+++ b/browser_use/skill_cli/README.md@@ -16,20 +16,20 @@ Fast, persistent browser automation from the command line.**macOS / Linux:**```bash-curl -fsSL https://browser-use.com/install.sh | bash+curl -fsSL https://browser-use.com/cli/install.sh | bash```**Windows** (run in PowerShell):```powershell-& "C:\Program Files\Git\bin\bash.exe" -c 'curl -fsSL https://browser-use.com/install.sh | bash'+& "C:\Program Files\Git\bin\bash.exe" -c 'curl -fsSL https://browser-use.com/cli/install.sh | bash'```### Installation Modes```bash-curl -fsSL https://browser-use.com/install.sh | bash -s -- --full # All modes-curl -fsSL https://browser-use.com/install.sh | bash -s -- --local-only # Local browser only-curl -fsSL https://browser-use.com/install.sh | bash -s -- --remote-only # Cloud browser only-curl -fsSL https://browser-use.com/install.sh | bash -s -- --api-key bu_xxx # With API key+curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --full # All modes+curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --local-only # Local browser only+curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --remote-only # Cloud browser only+curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --api-key bu_xxx # With API key```### Post-Installdiff --git a/browser_use/skill_cli/commands/agent.py b/browser_use/skill_cli/commands/agent.pyindex 361b1e0fc..e6c8e1f54 100644--- a/browser_use/skill_cli/commands/agent.py+++ b/browser_use/skill_cli/commands/agent.py@@ -68,7 +68,7 @@ async def handle(session: SessionInfo, params: dict[str, Any]) -> Any:'success': False,'error': f'Cloud-only flags require remote mode: {flags_str}\n'f'Remote mode is not installed. Reinstall with --full to enable:\n'- f' curl -fsSL https://browser-use.com/install.sh | bash -s -- --full',+ f' curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --full',}return await _handle_local_task(session, params)diff --git a/browser_use/skill_cli/commands/session_management.py b/browser_use/skill_cli/commands/session_management.pyindex af3c27a25..1ab13376c 100644--- a/browser_use/skill_cli/commands/session_management.py+++ b/browser_use/skill_cli/commands/session_management.py@@ -31,7 +31,7 @@ def handle_session_command(args: argparse.Namespace) -> int:print('Error: Session management requires remote mode.\n''Remote mode is not installed. Reinstall with --full to enable:\n'- ' curl -fsSL https://browser-use.com/install.sh | bash -s -- --full',+ ' curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --full',file=sys.stderr,)return 1diff --git a/browser_use/skill_cli/commands/task_management.py b/browser_use/skill_cli/commands/task_management.pyindex 595a686b3..b059b9079 100644--- a/browser_use/skill_cli/commands/task_management.py+++ b/browser_use/skill_cli/commands/task_management.py@@ -31,7 +31,7 @@ def handle_task_command(args: argparse.Namespace) -> int:print('Error: Task management requires remote mode.\n''Remote mode is not installed. Reinstall with --full to enable:\n'- ' curl -fsSL https://browser-use.com/install.sh | bash -s -- --full',+ ' curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --full',file=sys.stderr,)return 1diff --git a/browser_use/skill_cli/install_config.py b/browser_use/skill_cli/install_config.pyindex 03dfff7cb..ff2ad4c18 100644--- a/browser_use/skill_cli/install_config.py+++ b/browser_use/skill_cli/install_config.py@@ -107,5 +107,5 @@ def get_mode_unavailable_error(mode: str) -> str:f"Error: {mode_desc} '{mode}' not installed.\n"f'Available modes: {", ".join(available)}\n\n'f'To install all modes, reinstall with:\n'- f' curl -fsSL https://browser-use.com/install.sh | bash -s -- {install_flag}'+ f' curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- {install_flag}')diff --git a/install.sh b/install.shindex 2f09557b8..d93803ede 100755--- a/install.sh+++ b/install.sh@@ -3,15 +3,15 @@## Usage:# # Interactive install (shows mode selection TUI)-# curl -fsSL https://browser-use.com/install.sh | bash+# curl -fsSL https://browser-use.com/cli/install.sh | bash## # Non-interactive install with flags-# curl -fsSL https://browser-use.com/install.sh | bash -s -- --full-# curl -fsSL https://browser-use.com/install.sh | bash -s -- --remote-only-# curl -fsSL https://browser-use.com/install.sh | bash -s -- --local-only+# curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --full+# curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --remote-only+# curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --local-only## # With API key-# curl -fsSL https://browser-use.com/install.sh | bash -s -- --remote-only --api-key bu_xxx+# curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --remote-only --api-key bu_xxx## For development testing:# curl -fsSL <raw-url> | BROWSER_USE_BRANCH=<branch-name> bash@@ -24,7 +24,7 @@# winget install Git.Git## Then run from PowerShell:-# & "C:\Program Files\Git\bin\bash.exe" -c 'curl -fsSL https://browser-use.com/install.sh | bash -s -- --full'+# & "C:\Program Files\Git\bin\bash.exe" -c 'curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --full'## KNOWN ISSUES AND SOLUTIONS:#diff --git a/skills/browser-use/SKILL.md b/skills/browser-use/SKILL.mdindex 536f60037..4504926bb 100644--- a/skills/browser-use/SKILL.md+++ b/skills/browser-use/SKILL.md@@ -25,16 +25,16 @@ browser-use install**One-line install (recommended)**```bash-curl -fsSL https://browser-use.com/install.sh | bash+curl -fsSL https://browser-use.com/cli/install.sh | bash```This interactive installer lets you choose your installation mode and configures everything automatically.**Installation modes:**```bash-curl -fsSL https://browser-use.com/install.sh | bash -s -- --remote-only # Cloud browser only-curl -fsSL https://browser-use.com/install.sh | bash -s -- --local-only # Local browser only-curl -fsSL https://browser-use.com/install.sh | bash -s -- --full # All modes+curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --remote-only # Cloud browser only+curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --local-only # Local browser only+curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --full # All modes```| Install Mode | Available Browsers | Default | Use Case |@@ -47,7 +47,7 @@ When only one mode is installed, it becomes the default and no `--browser` flag**Pass API key during install:**```bash-curl -fsSL https://browser-use.com/install.sh | bash -s -- --remote-only --api-key bu_xxx+curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --remote-only --api-key bu_xxx```**Verify installation:**diff --git a/skills/remote-browser/SKILL.md b/skills/remote-browser/SKILL.mdindex 701f9990a..f20af006c 100644--- a/skills/remote-browser/SKILL.md+++ b/skills/remote-browser/SKILL.md@@ -12,7 +12,7 @@ This skill is for agents running on **sandboxed remote machines** (cloud VMs, CI**Remote-only install (recommended for sandboxed agents)**```bash-curl -fsSL https://browser-use.com/install.sh | bash -s -- --remote-only+curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --remote-only```This configures browser-use to only use cloud browsers:@@ -20,7 +20,7 @@ This configures browser-use to only use cloud browsers:- `browser-use open <url>` automatically uses remote mode (no `--browser` flag needed)- If API key is available, you can also pass it during install:```bash- curl -fsSL https://browser-use.com/install.sh | bash -s -- --remote-only --api-key bu_xxx+ curl -fsSL https://browser-use.com/cli/install.sh | bash -s -- --remote-only --api-key bu_xxx```**Manual install (alternative)**