zoxide
zoxide copied to clipboard
Windows installation via WinGet
Anything planned for Windows? Preferably: installation via WinGet/Scoop, publishing Windows binaries alongside Linux/macOS on GitHub release, etc.
Absolutely! It may take a while since I'm not familiar with packaging on Windows - if you have experience, I'd appreciate any help!
I believe for zoxide
to take advantage of installing via Scoop/WinGet, we must first setup build scripts for Windows on GitHub release. I'll make a PR for the GitHub Action CI first, and if all goes well, I'll poke around and try adding zoxide
to Scoop/WinGet's repo next.
(Sorry for the late response...I've been extra busy.)
Regarding CI, I think it might be better to switch over to the trust project. It has testing, releases on multiple architectures, and a shell-based install script.
I've already done some work on this, I'll ping you here once it's done!
Ok, so we won't be using GitHub Actions anymore?
Probably not - if trust takes care of deployment and installation of binaries, I think we should shift to what they're using.
@spencerwooo it appears trust's install script relies on rustc
unless target
is explicitly specified. IMHO, this defeats its purpose.
I think we can go ahead with GitHub Actions for now. Feel free to send in a PR once you have the time!
winget support is currently waiting on https://github.com/microsoft/winget-cli/issues/182 / https://github.com/microsoft/winget-cli/issues/140.
I just created a pull request over at scoop's main bucket for zoxide
version 0.4.3. If merged, we'll be able to install zoxide
with a simple command on Windows:
scoop install zoxide
I'll update the documentations here (if that's ok with you) once it's merged upstream.
Looks great. Thank you!
I just tried installing this via scoop
, but I'm unfortunately hitting a hash check failure. Is this something I should report to the Scoop team or is it suitable reporting it here?
EDIT: Never mind, it's already been reported to Scoop! https://github.com/ScoopInstaller/Main/issues/2285
@spencerwooo can you please close this issue?
@ditsuke I left the issue open because zoxide hasn't been added to WinGet yet. Currently, it's blocked on https://github.com/microsoft/winget-cli/issues/140, but once that happens, I'll close the issue.
Support for portable exes has been merged into Winget. Tracking the package request here: https://github.com/microsoft/winget-pkgs/issues/80892
It's coming!
- https://github.com/microsoft/winget-pkgs/pull/94715
Once the PR has been merged, Winget Releaser must be set up in this repo to push automatic manifest updates. @ajeetdsouza Are you good with that?
Yeah, that sounds great!
zoxide now available on winget
Installed successfully. Thanks @sitiom !
For the Winget Releaser workflow, https://github.com/vedantmgoyal2009/winget-releaser/issues/82 would have to be resolved first.
Thanks @sitiom, really appreciate your work on this! I'll close this issue for now, but I'd be very happy to merge a later PR for auto-updating the package on winget.