feat: support Git Bash PATH setup in install scripts#89
Merged
Conversation
Windows users running Git Bash (MINGW/MSYS2) were not getting the archgate bin directory added to their shell profiles, causing `archgate` to not be found in Git Bash sessions. - install.sh: add MINGW/MSYS2 platform detection, download .zip artifact, and install archgate.exe on Windows - install.ps1: detect Git Bash shell profiles (~/.bashrc, ~/.bash_profile, ~/.profile) and offer to add PATH export with POSIX-formatted path
Deploying archgate-cli with
|
| Latest commit: |
565f01f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3699f709.archgate-cli.pages.dev |
| Branch Preview URL: | https://feat-install-git-bash-path-s.archgate-cli.pages.dev |
Document that install.sh now works in Git Bash/MSYS2 on Windows and that install.ps1 detects Git Bash shell profiles for PATH setup.
Add _redirects file for Cloudflare Pages so install scripts are available at shorter, branded URLs: - cli.archgate.dev/install-unix -> install.sh - cli.archgate.dev/install-windows -> install.ps1 Update all docs (EN + PT-BR), README, and CI integration guides to use the new short URLs with https://.
Merged
rhuanbarreto
added a commit
that referenced
this pull request
Mar 20, 2026
* feat: support Git Bash PATH setup in install scripts Windows users running Git Bash (MINGW/MSYS2) were not getting the archgate bin directory added to their shell profiles, causing `archgate` to not be found in Git Bash sessions. - install.sh: add MINGW/MSYS2 platform detection, download .zip artifact, and install archgate.exe on Windows - install.ps1: detect Git Bash shell profiles (~/.bashrc, ~/.bash_profile, ~/.profile) and offer to add PATH export with POSIX-formatted path * docs: add Git Bash installation instructions to EN and PT-BR pages Document that install.sh now works in Git Bash/MSYS2 on Windows and that install.ps1 detects Git Bash shell profiles for PATH setup. * docs: regenerate llms-full.txt * feat: add install URL redirects via Cloudflare Pages Add _redirects file for Cloudflare Pages so install scripts are available at shorter, branded URLs: - cli.archgate.dev/install-unix -> install.sh - cli.archgate.dev/install-windows -> install.ps1 Update all docs (EN + PT-BR), README, and CI integration guides to use the new short URLs with https://. * docs: regenerate llms-full.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
install.shcan run directly from Git Bash on Windows — downloads the.zipartifact and installsarchgate.exe~/.bashrc,~/.bash_profile,~/.profile) and offer to add a POSIX-formattedexport PATHlineFixes the issue where
archgatewas not found in Git Bash sessions after installing via PowerShell, because the Windows PATH update doesn't always propagate to Git Bash shell profiles.Test plan
install.ps1on a Windows machine with Git Bash installed and a~/.profile— verify it prompts to update the shell profileinstall.ps1on a Windows machine without any bash profiles — verify no Git Bash section is showninstall.shfrom Git Bash (MINGW64) — verify it detectswin32platform, downloads.zip, and installsarchgate.exe