# Install (everything)
export PS_REPO_URL="https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/main"; curl -fsSL "$PS_REPO_URL/Core/Orchestration/install_all_macOS.sh" | bash
# uninstall (everything)
export PS_REPO_URL="https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/main"; curl -fsSL "$PS_REPO_URL/Core/Orchestration/uninstall_all_macOS.sh" | bash$env:PS_REPO_URL = "https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/main"; irm "$env:PS_REPO_URL/Core/Orchestration/install_all_windows.ps1" | iex$env:PS_REPO_URL = "https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/main"; irm "$env:PS_REPO_URL/Core/Orchestration/uninstall_all_windows.ps1" | iex# Install (everything)
export PS_REPO_URL="https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/dev"; curl -fsSL "$PS_REPO_URL/Core/Orchestration/install_all_macOS.sh" | bash
# uninstall (everything)
export PS_REPO_URL="https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/dev"; curl -fsSL "$PS_REPO_URL/Core/Orchestration/uninstall_all_macOS.sh" | bash$env:PS_REPO_URL = "https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/dev"; irm "$env:PS_REPO_URL/Core/Orchestration/install_all_windows.ps1" | iex$env:PS_REPO_URL = "https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/dev"; irm "$env:PS_REPO_URL/Core/Orchestration/uninstall_all_windows.ps1" | iexTo test scripts against your local checkout instead of the remote GitHub repo, point PS_REPO_URL at the local repo root using a file:// URL. All internal curl calls will then read from disk, so uncommitted changes are tested too.
-
Open a terminal at the repo root (the directory containing this README).
-
Export the repo root as a
file://URL:export PS_REPO_URL="file://$PWD"
If you are in a subdirectory, use an absolute path instead:
export PS_REPO_URL="file:///path/to/pythonsupport-scripts"
-
Run any script directly:
bash Core/Orchestration/install_all_macOS.sh bash Core/VsCode/config/settings_macOS.sh bash Core/VsCode/config/extensions_macOS.sh bash Core/Orchestration/uninstall_all_macOS.sh
The variable only lives in the current shell session. Open a new terminal, or run unset PS_REPO_URL, to go back to testing against the remote repo.