Does cygwin have a port equivalent?
So now I have a unix-based laptop (with a glowing piece of fruit on the lid), I have been revisiting saved blog articles about snazzy unix-only short cuts and hacks.
The first one I craved? Auto-complete for rake.
$ wget http://pastie.caboo.se/17743.txt
-bash: wget: command not found
What the? wget isn’t a standard command? Well, let me just fix that right now.
$ sudo port install wget
Password:
---> Fetching wget
---> Attempting to fetch wget-1.10.2.tar.gz from ftp://ftp.gnu.org/gnu/wget
---> etc etc etc til success
port (aka DarwinPorts aka MacPorts) is sweet simple awesomeness.
When fetchin new apps from cygwin I’ve always used the GUI installer. I wonder if it has a command-line equivalent to port?
Perhaps renaming Cygwin’s famous setup.exe to port.exe might sooth the soreness.
Trackbacks
Use this link to trackback from your own site.






Cygwin is a Linux emulation layer, not BSD, so you’d be more likely to be able to use things like apt-get, yum, or rpm rather than ports (which, to my knowledge, are almost always on BSDs - with the notable exception of Gentoo’s portage).
@peter - it’d be nice though, once you’d installed core cygwin and added C:/cygwin/bin to the path, that you could fetch new apps (and their dependencies) via the command line. This would be something native to cygwin to interface with its 100s of mirror sites
There appears to be an apt-get for Cygwin called cyg-apt floating about.
Slightly off topic, but OS X does come with curl out of the gate.
Something to keep in mind if you’re in a pinch and don’t have ports installed on a particular machine.