Skip to content
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

[Help] zk Windows binaries availability #216

Closed
pidgeon777 opened this issue May 20, 2022 · 6 comments
Closed

[Help] zk Windows binaries availability #216

pidgeon777 opened this issue May 20, 2022 · 6 comments

Comments

@pidgeon777
Copy link

If I understood correctly, Windows binaries for zk exist, but I'm encountering difficulties finding them.

@mickael-menu
Copy link
Member

I can't test or build zk for Windows, so I don't include any Windows binaries in the release notes. So unfortunately you will need to build it yourself.

Windows is not officially supported with zk, but external contributors are sometimes ensuring that it's still buildable on Windows.

@pidgeon777
Copy link
Author

Ok. Please if someone could share some knowledge on how to build zk on Windows, it would be much appreciated 👍.

@mickael-menu
Copy link
Member

I think you might get some help asking on this PR #171

@rstacruz
Copy link

rstacruz commented Sep 8, 2022

If anyone comes across this looking to use zk on Windows: Windows is unsupported right now, but it should work. I'm posting what I did. You may need to install Go:

winget install -e --id GoLang.Go.1.19

git and gcc is also needed. I installed them via scoop:

scoop install git-with-openssh
scoop install gcc

From there, I followed the readme instructions:

git clone https://github.com/mickael-menu/zk
cd zk
make
.\zk.exe -h

(btw it's also possible to install git via winget using winget install -e --id Git.Git, and scoop can install Go via scoop install go, but the combination above is what I can confirm to be working)

@KSaiAkshit
Copy link

If anyone comes across this looking to use zk on Windows: Windows is unsupported right now, but it should work. I'm posting what I did. You may need to install Go:

winget install -e --id GoLang.Go.1.19

git and gcc is also needed. I installed them via scoop:

scoop install git-with-openssh
scoop install gcc

From there, I followed the readme instructions:

git clone https://github.com/mickael-menu/zk
cd zk
make
.\zk.exe -h

(btw it's also possible to install git via winget using winget install -e --id Git.Git, and scoop can install Go via scoop install go, but the combination above is what I can confirm to be working)

First off, thanks for pointing that out. It did compile as expected. Can you use an editor with zk new? I set it to several different editors, but none seem to work. I tried Helix, nvim, Lunarvim. None of them seem to work. I can open another issue if needed.

@dc6c
Copy link

dc6c commented Jul 18, 2024

What do you do to configure the editor? Whatever I do, I get "zk: error: failed to launch editor: ...".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants