-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commands should be available to the console after install #222
Comments
For some reason, it looks like |
This is likely do to the session needing reloaded. Basically, it added it, but your current PS session doesn't know about it yet. This is normal (same thing happens in all *nix shells). That being said, it would be nice if Another option would be to provided a command like |
@dhrrgn I think that you're correct because when I opened a new PS Core shell today, it worked as expected. I was confused yesterday because I opened a new tab in Windows Terminal after installation and received the same error message. When I opened a new and independent PS Core shell, it worked as expected today. Regarding what you said about *nix above, if I use |
@dhrrgn is correct, we don't currently reload the session. I'm going to change the title to indicate the feature request. |
I ran into a similar problem when trying to install python: After the Python installation wizard launched and finished, the tool reported:
Am I missing a switch when running the |
I'd imagine that's because they are adding symlinks to a location already on the |
Actually, I have installed vim, meld and a few other applications and rebooted my computer but still the commands are not available. |
Related #361 |
Reinstalling with the latest Python package (now 3.10) seems to get everything into PATH as expected! Not sure if the fix was within |
I have the same problem with GnuWin32.make. Successfully installation but it will not add make to the path automatically. It is seen in the list so it was installed. Is this now a thing, that needs to be changed in winget or in make itself to make this happen? |
@Chris2011 - While I can't give a definitive answer on this (I'm not a contributor or maintainer), I do think signs point to this being the responsibility of the package itself. So I think the action would be to go to the package maintainer and see about updating the install script for this package. |
@aaronsteers ok, thx for your opinion :). |
Anyone know if there's an easy way to do this in a WiX installer? |
This package may help: winget install WingetPathUpdater
winget install github.cli
gh # <-- works! It works by adding See also: https://github.com/jazzdelightsme/WingetPathUpdater |
0e27525d Bumping version to 1.1.0 (microsoft#222) c639a506 Adding support for a custom proxy input (microsoft#218) 258d189b Improve logging when the content type is wrong (microsoft#221) 216210ab Adding required permissions to enable uploading of CodeQL results (microsoft#214) fb953d6e Bump github/codeql-action from 2 to 3 (microsoft#215) 52af7124 Enabling CodeQL scanning (microsoft#211) e555d764 Bump clang-format from 18.1.5 to 19.1.1 (microsoft#210) ab8f0e72 Setup: improving build tools installation (microsoft#207) git-subtree-dir: src/SfsClient/sfs-client git-subtree-split: 0e27525d597c730e71646fd0b15bdc8c8503f24d
Brief description of your issue
I've installed the GitHub CLI and then attempt to run it but it fails each time.
Steps to reproduce
winget install github.cli
gh
Expected behavior
gh
brings up GitHub CLI info.Actual behavior
An error is produced
Environment
Any other software? No
The text was updated successfully, but these errors were encountered: