Update CLI install script with environment specific instructions for setting the PATH
Please explain the motivation behind the feature request. Currently running the CLI install script on Windows ends with the warning that Goose is not in the PATH:
Warning: Goose installed, but /home/rob-admin/.local/bin is not in your PATH.
Add it to your PATH by editing ~/.bashrc, ~/.zshrc, or similar:
export PATH="/home/rob-admin/.local/bin:$PATH"
Then reload your shell (e.g. 'source ~/.bashrc', 'source ~/.zshrc') to apply changes.
Since we know that we are running on Windows (either in bash or WSL), we can use that info to show the correct information.
Describe the solution you'd like Show the PowerShell instructions for example:
# Add to your PowerShell profile
$profilePath = $PROFILE
if (!(Test-Path $profilePath)) { New-Item -Path $profilePath -ItemType File -Force }
Add-Content -Path $profilePath -Value '$env:PATH = "$env:USERPROFILE\.local\bin;$env:PATH"'
# Reload profile or restart PowerShell
. $PROFILE
Describe alternatives you've considered Manually checked the docs, added the PATH, reran the CLI script
It also helps to include the instructions to run goose configure or rerun the install script, as that is not clear either.
.take
Thanks for taking this issue! Let us know if you have any questions!
Hi @aegntic When you have your PR ready, be sure to link it to this issue @aegntic !
Hi @aegntic - I'm writing to let you know I'm removing the hacktoberfest tags from this issue. You are free to contribute to this if you have a PR ready! 📕
Since Hacktoberfest ends in two days, and the team needs that remaining day to finalize PRs and rankings, all open issues without an open PR are being closed or open bugs/fixes will have their hacktoberfest-specific labels removed. This way, in-progress submissions can bee finalized along with final leaderboard rankings. Thank you so much for participating!
ive been a bit absent from the flock lately - ill see what i have ready to go. ive been working on some stuff for goose thats a bit different lately - excited to show it soon :)