Files
fn_registry/bash/functions/infra/install_uv.md
T
egutierrez 194663a379 feat: add bash infra installer and diagnostic functions
10 funciones Bash del dominio infra: instaladores de herramientas de desarrollo
(install_go, install_nodejs, install_pnpm, install_python312, install_uv,
install_volta, install_wails), diagnostico del sistema (analyze_disk_space,
detect_wsl, list_listening_ports). Automatizan la configuracion del entorno
de desarrollo en Linux/WSL.
2026-04-12 13:54:21 +02:00

1.2 KiB

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path, source_repo, source_license, source_file
name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports params output tested tests test_file_path file_path source_repo source_license source_file
install_uv function bash infra 1.0.0 impure install_uv() -> void Instala uv, el gestor de paquetes Python ultra-rápido escrito en Rust, usando el instalador oficial de astral.sh. Configura PATH en ~/.bashrc y ~/.zshrc. Idempotente: si uv ya está instalado, informa y termina.
bash
install
uv
python
false error_go_core
name desc
(ninguno) no acepta argumentos
progreso a stdout; exit code 1 si curl no está disponible o falla la instalación false
bash/functions/infra/install_uv.sh https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/egutierrez/DevLauncher.git MIT scripts/linux/instaladores/instalar_uv.sh

Ejemplo

source bash/functions/infra/install_uv.sh

install_uv

# Uso posterior
uv venv
source .venv/bin/activate
uv pip install requests pandas

Notas

Instala en $HOME/.cargo/bin. Requiere curl. uv es compatible con pip pero 10-100x más rápido. Después de instalar en una sesión nueva, hay que recargar el shell.