Unify installer: merge install_deps.sh + install.sh into scripts/install.sh #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
scripts/install.shthat replaces the previousinstall.shandinstall_deps.shsplit.pipx,uv, localvenv,pip --user) and installation--modechoices (pypi|prod|dev) with clear fallbacks.Description
scripts/install.shas the unified installer implementing environment detection helpers (is_termux,is_proot,is_wsl,is_macos,is_windows, distro detection), strict hardening (set -euo pipefail,IFS,trap) and debug support via--debug.pipx, falls back touv, supports--venv(local.venv),--pip-user,--mode <pypi|prod|dev>, and optional--prefix; also added--dry-runto print planned actions.pkg install python3 ...), Debian/Ubuntu (apt-getpackage set), Fedora/RHEL (dnf), Arch (pacman), and macOS (Homebrew guidance); includes a proot-vs-Termux prefix warning to avoid prefix hijack.install.shandinstall_deps.sh, updatedREADME.mdand documentation to referencescripts/install.sh, pinned curl/wget bootstrap snippets tov3.0.0tag, and ensuredscripts/install.shis executable (chmod +x scripts/install.sh).Testing
bash -n scripts/install.shwhich completed successfully../scripts/install.sh --dry-runwhich printed a detected environment summary and planned install method (output shown during rollout).shellcheck scripts/install.shbutshellcheckwas not available in the environment (not executed).scripts/install.shand curl/wget lines were updated to thev3.0.0tag.Codex Task