-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Upgrading to 0.93 on Windows installs nu to a new/different location #12748
Comments
Yup, this is correct. We had to switch to a perUser msi installation versus a perMachine msi installation. It's not a bug but it's intended to run this way now. |
Ah OK, sounds good. I couldn't find any mention of that anywhere. Thanks for the info! |
Ya, it was a mess. We didn't have plans to do this but when winget-pkgs kept failing on release day, we had to take drastic measures and just force it to work somehow.
I'd probably uninstall it after backing up your config files. Then try to uninstall the other one if it lets you. If it doesn't let you, you should just remove the folder it was installed in. Then once everything is uninstalled and you have your backup config files, I'd install it again to the new location and make sure the config files are in place. I'm not positive but I don't think uninstalling will disturb your config files but it's always best to be safe. Unless you're just running with default config files and if that's the case, on the first run you can regenerate them. |
Same issues with
Is this state intended to stay? (Then I would have expected this ticket to be closed, which it was not.) Is the issue tracked somewhere? Is the information what the issue is documented somewhere? |
Uninstall does not influence |
We don't intend on changing it right now. Per User seems to be working better so far.
Only in the bizarre winget-pkgs errors with each prior release. |
Describe the bug
winget upgrade showed an update to 0.93. Winget upgrade --all completed successfully. However, a nu -v still showed version 0.92. After some digging I discovered that instead of upgrade the version I have been using for several months now it put 0.93 into a new directory and added that directory to windows user environment variables as opposed to its previous location which was using Path from the system environment variables.
Original Location: C:\Program Files\nu\bin
New Location: C:\Users\UserName\AppData\Local\Programs\nu\bin
which nu -a displays the following.
Any info and assistance is greatly appreciated. Thanks so much!
How to reproduce
Expected behavior
I expected the same as all previous upgrade which immediately update the version i am currently using. Aka nu -v 0.92. winget upgrade --all followed immediately by nu -v would return 0.93.
Screenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: