spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

Native Windows support

Open Franky1 opened this issue 1 year ago • 6 comments

The documentation says that WSL2 is required to run under Windows, which is a bit of pain, especially for unexperienced users.

Which dependencies prevent native use under Windows?

If there is no solution for this, a brief guide on how to use this toolkit with WSL2 and VSCode would be helpful.

Franky1 avatar Sep 08 '25 09:09 Franky1

I agree, I missed that requirement initially and only realized once the bash and sh commands started failing.

FWIW it seems to try and solve that by using powershell? I say seems because it failed horribly and ended up asking me to manually supply values for parameters on the script. Seemed to be having Join-Path issues. I'd rather it just stopped me and told me to read the docs and install WSL2 at that point.

jehubba avatar Sep 08 '25 22:09 jehubba

I managed to use it on Windows by installing git bash and then cmder. I don't know if gitbash is necessary, but cmder does the trick.

parchix avatar Sep 09 '25 00:09 parchix

@Franky1 the main dependency here is shell scripts - once we have a PowerShell version (it's in the works), it can work just as well on vanilla Windows.

localden avatar Sep 11 '25 17:09 localden

I think everybody who want to get hackish, can take a look at https://github.com/github/spec-kit/pull/177 and pull these changes in you existing repo. Just change prompts configuration in .github and put Powershell scripts where appropriate.

kant2002 avatar Sep 12 '25 05:09 kant2002

Latest templates support PowerShell and you can specify the script types you want to use. Thank you for reporting this!

localden avatar Sep 12 '25 21:09 localden

@localden The README should also be updated?

Franky1 avatar Sep 13 '25 09:09 Franky1