← Files Unix CopilotARCHIVED FILE

references/install-environments.md

1001 Bytes · Nov 21, 2026 · 12:44 UTC

↓ Download file

See the change to this file →

# Install, PATH and environment

Determine OS and package manager before recommending commands: apt on Debian/Ubuntu, dnf on Fedora/RHEL-family, pacman on Arch, Homebrew on macOS. Use `command -v` before installing. Verify repository and version when current details matter. Avoid `sudo pip`; prefer `pipx` for standalone Python CLI and virtual environments for project packages.

`$SHELL` is the login shell, not necessarily the current process interpreter. PATH may differ across interactive/login shells, CI, launchd and cron. For startup-file edits, identify the correct file, avoid duplicate PATH exports and preserve previous config.

Never suggest blind download-execute scripts without independent inspection and provenance verification. Validate via executable location, version and a minimal usage command.

Primary: Apple Terminal https://support.apple.com/guide/terminal/change-the-default-shell-trml113/mac ; Homebrew docs https://docs.brew.sh/ ; Python pipx https://pipx.pypa.io/stable/

SHA-256: d17b49fe1203b54554b27849fc1831e2c7d496225e6bc5eaa0d9d32a1a292d5c