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

can you install gcc, golang, nodejs, python, ruby, ghc, lua (...) on windows with a single command

Yes! Just install chocolaty and type

   cinst git 
   cinst mingw
   cinst vim
   (and so on)
Prior to Windows 10 it is a third party tool and not officially supported by windows. However starting with Windows 10 windows will ship with a version of this command called OneGet and it will be be officially part of windows.


I don't think you can call chocolaty a package manager as it does not (and, by the nature of Windows, can not) offer dependency resolutions in the way apt works. It might be better to call it a package downloader or a package installer.


Can you explain what you mean here? Chocolatey is built on top of the NuGet package manager, which includes package level dependencies.

A simple example is this ConEmuConfig package, which will install ConEmu if it's not already installed due to the dependency chain: https://chocolatey.org/packages/EthanBrown.ConEmuConfig

Many Chocolatey packages I use have dependency chains, and I know some developers that build metapackages so installing one Chocolatey package installs and configures all the software on a new dev box or server.


it's not simply a downloader as it also does handles application level dependencies (as opposed to library level dependencies) as well as keeping track of versions and handling updates.

Either way, while it is inferior to apt-get in many ways, it does fill the original posters brief in that it will let you install python,node,gcc,ghc,postgres etc. with a simple CLI command




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

Search: