-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Update command #4695
Comments
+1 this would be awesome |
@lkurzyniec this is a huge challenge depending on how you installed. For Windows, check. For macOS and Linux not so much. |
Yeah, I could imagine that it can be a huge challenge. That's why I have added "If that's possible" :) |
ideally if you have installed a software using a package manager, the software should be managed and updated by the package manager. This would be outside of the scope of oh-my-posh |
@nopeless exactly. Unless you went for a manual install, in which case running the same install command will upgrade the binary and included themes. For those of you who request this, how did you install oh-my-posh? |
I have installed by installer (windows, exe), but I have no problem to start using winget. It's worth to consider to adjust install PS script (https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/website/static/install.ps1) to start using winget (or other package manager) as well. |
@lkurzyniec I don't mind seeing if we can add this for Windows only. Seems solvable. |
Except there is no unified package manager for Linux... Homebrew is sort of a bandaid fix for that and running |
@392781 running curl or update internally is kind of the same logic that will be executed tbh. |
Code of Conduct
What would you like to see changed/added?
If that's possible, It would be nice to have an update command. I could just type
oh-my-posh update
and magic would happen (I mean, the latest version would be installed). After all, restart of terminal and I have the newest version on my machine.The text was updated successfully, but these errors were encountered: