upgrade-assistant: upgrade-assistant command not found after Mac install
Problem encountered on https://dotnet.microsoft.com/en-us/platform/upgrade-assistant/tutorial/install-upgrade-assistant
Operating System: windows
When running upgrade-assistant analyze
, I get the error upgrade-assistant is not recognized as an internal or external command, operable program or batch file.
However, when running dotnet tool install -g upgrade-assistant
, I get the error Tool 'upgrade-assistant' is already installed.
Please advise.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 2
- Comments: 17 (8 by maintainers)
You need to add ~/.dotnet/tools to your PATH environment (you probably want to edit
~/.zshrc
to add the following line:Having the same issue.
I’ve tried to work around this with
dotnet tool run upgrade-assistant
but it did not lead to any success.@maddymontaquila Is there any update on this?
Thanks! This got the command to be recognized, but now I see this message when running the upgrade command: “This tool is not supported on non-Windows platforms due to dependencies on Visual Studio.”
Is this true, and is there a work around to use on mac? Not a huge issue if I have to do this on windows, but would prefer to do this on mac if possible.
Yes, on Mac.