Skip to content

Instantly share code, notes, and snippets.

@coffeant
Last active August 29, 2015 14:14
Show Gist options
  • Save coffeant/50e03cb63acc415693c5 to your computer and use it in GitHub Desktop.
Save coffeant/50e03cb63acc415693c5 to your computer and use it in GitHub Desktop.
window 实现apt-get 神器之 Chocolatey
https://chocolatey.org/ [Chocolatey: A delicious Windows package manager]
1. What is Chocolatey?
Chocolatey is a command line application installer for Windows based on a developer-centric package manager called NuGet. Unlike manual installations, Chocolatey adds, updates, and uninstalls programs in the background requiring very little user interaction.
Chocolatey has its own package feed that is created and maintained by the project’s community members.
Behind the scenes, most Chocolatey packages simply download a program’s official executable and install it without any further interaction from the user.
2. How to Install?
Run cmd as Administrator
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
<-Enter->
3. reference:http://www.pcworld.com/article/2459950/how-to-use-chocolatey-a-delicious-windows-package-manager.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment