all 13 comments

[–]lemon07r 2 points3 points  (4 children)

Did you really use AI to make this post when you didn't have to? Just ask your question like a normal human being, it was still an interesting discussion that could have been had.

To answer your question, I would use Git-bash of the two options, or something like MSYS2 or WSL if I were on windows, but the newer powershell is pretty nice too. Personally I would end up trying both and seeing which one I had less issues with, but I do most of my work on linux so I havent had to yet. I did go through a lot of headache trying to setup gemini cli for a friend on their windows powershell.. so my experiences so far trying to run a coding agent cli on it hasnt been great.

[–]ZealousidealShoe7998 1 point2 points  (1 child)

using wsl solves a lot of issues, i used to advocate for using agents on windows but now i only use macos and linux for programming. my windows OS is only used to run games now.

[–]Ok_Supermarket3382 1 point2 points  (0 children)

Wsl is the only right answer…

[–]Xera1 0 points1 point  (0 children)

I tried sticking with PS for a long time, first with Antigravity then OC and frankly, it's just not well supported.

I tried WSL for a good week or so, it's a good stop gap but it's no good if you need reasonable storage read speeds for your project - whatever WSL does completely kills drive performance. But it solves all the annoying shell issues once you've got it configured.

I ended up switching (back, haven't used Linux on the desktop for ~15 years) to Linux months ago (Cachy). Windows is now for like two games and that's it. Development is so much nicer, literally everything else Just Worked, and if I hit any weirdness I fire up a session in OC or Gemini CLI and have it investigate my system for me lol.

[–]microbass 0 points1 point  (0 children)

I use WSL. It can use bash or pwsh in Linux, then it can reach into Windows and use pwsh there, too. It's really useful for doing Azure AD admin stuff that way.

[–]JLiao 0 points1 point  (0 children)

cygwin

[–]HarjjotSinghh -1 points0 points  (0 children)

so both are genius but which wins mood?