Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Coincidentally I've spent the past week re-learing how to develop on windows. I wanted to avoid cygwin if possible, but the experience has been painful. I had some hope for Chocalatey, and it seemed encouraging that MS had ported OpenSSH over, but my first ssh to a Byobu session on Ubuntu was disastrous... I'm sure there is some TERM parameter I can fiddle, but I don't know what or where in 5 minutes of searching. I needed "grep", so I tried "choco search grep", and there are a dozen choices for grep-like tools.... with GUIs, written in Perl,... oh christ.


You might enjoy scoop (http://scoop.sh):

  ~ $ scoop search grep
  main bucket:
    busybox (1.24.0-TIG-1778) --> includes 'egrep'
    gow (0.8.0) --> includes 'egrep.exe'
    grep (2.5.4)
    nim (0.11.2) --> includes 'nimgrep.exe'
    pcregrep (10.20)
    rktools2k3 (1.0) --> includes 'qgrep.exe'
  ~ $ scoop install grep
  installing grep (2.5.4)
  loading http:(...)grep-2.5.4-bin.zip from cache...
  checking hash...ok
  extracting...done
  loading (...)grep-2.5.4-dep.zip from cache...
  checking hash...ok
  extracting...done
  creating shim for grep
  grep (2.5.4) was installed successfully!
  ~ $ grep --version
  GNU grep 2.5.4

  Copyright (C) 2009 Free Software Foundation (...)
Getting colors to work is a bit of work, as windows conhost doesn't quite come with vt100 support out-of-the box yet:

http://www.nivot.org/blog/post/2016/02/04/Windows-10-TH2-(v1...

But that's just a:

  ~ $ scoop install conemu
  installing conemu (150813g)
  downloading (...)
Note that conemu is in the "extras" "bucket" for scoop:

  scoop bucket add extras





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: