Skip to content

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

fix: detect uv installed via curl script

Ishan Shahfddc133aa957
diff --git a/browser_use/skill_cli/install.sh b/browser_use/skill_cli/install.sh
old mode 100755
new mode 100644
index db52ba985..757dd55a4
--- a/browser_use/skill_cli/install.sh
+++ b/browser_use/skill_cli/install.sh
@@ -288,6 +288,10 @@ install_python() {
install_uv() {
log_info "Installing uv package manager..."
+ # Add common uv install locations to PATH for current session
+ # (covers both curl-based and Homebrew installs)
+ export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
+
if command -v uv &> /dev/null; then
log_success "uv already installed"
return 0
@@ -296,9 +300,6 @@ install_uv() {
# Use official uv installer
curl -LsSf https://astral.sh/uv/install.sh | sh
- # Add common uv install locations to PATH for current session
- export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
-
if command -v uv &> /dev/null; then
log_success "uv installed successfully"
else