Skip to content

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

Fix upgrade command to use == instead of @ for uv compatibility

Balázs Thomaydc9dbbeddd6a
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index 1144f5635..66517d732 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -1332,7 +1332,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):
latest_version = await check_latest_browser_use_version()
if latest_version and latest_version != self.version:
self.logger.info(
- f'📦 Newer version available: {latest_version} (current: {self.version}). Upgrade with: uv add browser-use@{latest_version}'
+ f'📦 Newer version available: {latest_version} (current: {self.version}). Upgrade with: uv add browser-use=={latest_version}'
)
def _log_first_step_startup(self) -> None: