I need to do software development in Windows for the first time in my career (been using OS X and Linux for years). The Windows command line is a complete abortion. Is there any way to make my dev environment more unix-like? Is cygwin still the best offering?
>>53351532
> abortion
maybe you meant abomination
yes cygwin is very good
you can even habe your own Xserver desktop in a Windows with your favourite WM (like mwm, fvwm ...)
Cygwin is pretty good. I don't use it for its shell though because bash is pretty slow. If you need tab completion more like bash-completion, install Clink (http://mridgers.github.io/clink/). Also consider learning Powershell instead of using old-ass cmd/batch. Its very sleek and... powerful
>>53351532
There's co-linux if you actually want Linux on windows. But it's painfully out of date, not to mention that upgrading has been something of a headache (at least for me). If you don't mind this, try it. Otherwise, Cygwin is probably better for you.
I use MSYS2, it uses Paxman as package manager.
Install ConEmu
Chocolatey + Cmder
>>53351532
I recommend Cygwin, the only issue is it has a slow start up so you'll want to keep a terminal open if you plan to use it a lot. Other than that you should be able to use all of it's commands through powershell/command prompt if you setup a path to it's bin folder.
>>53351532
If you use Cygwin, remember to install git so you can download apt-cyg
https://github.com/kou1okada/apt-cyg.git
It's not nessecary but it makes life easier.
>>53353369
>>53353276
>MSYS2
Indeed, msys2 is all the rage. Basically GNU/Win32 archlinux.
>>53351665
Clink is buggy as fuck. Why not mintty + actual bash? The only caveat is to configure it to run native console binaries through winpty.
>>53354795
Does MSYS2 have sudo in any package? I like Cygwin. but I hate how it doesn't have either su or sudo unless you make a less effective script that does a similar job.
be aware of babun.io
>>53354930
What about babun.io?
>>53354975
>malware
>bloat
>>53351532
Cygwin was good when I used it.
You could install a *nix environment if you wanted to though.
>>53351532
use a VM, cygwin/mingw/msys is like wine, it'll never be good enough, when you start using it you've already lost
the windows developers at work use power shell and a lot of IDE shit.
It seems like with windows, the IDE Is the way to go.
>>53355036
he probably has to compile with windows libraries and use windows sys calls.
>>53355065
then he needs to use the vc++ compiler, mingw isn't a viable replacement
anyway putting UnxUtils in your PATH helps
>>53354908
No, just use runas (or alias it to whatever) to elevate your privs.
Thats the general trouble with cygwin, it's tryhard posix and ends up being ass slow - whereas msys2 is pretty much just "good enough" for most posix-expecting software to work.
>>53351532
yes by adding cygwin to your path you get commands like "grep" and "g++" in the windows command prompt.
there are also other command prompts like "cmder" that you can use.
>>53351532
> not using babun and vagrant to run a headless ubuntu
>>53355441
What's so special about that?