Difference between revisions of "Chocolatey"

From HackerNet
Jump to: navigation, search
Line 3: Line 3:
 
==Installation==
 
==Installation==
 
Kör powershell som admin.
 
Kör powershell som admin.
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
+
<syntaxhighlight lang=powershell>iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))</syntaxhighlight>
  
 
==Exempel==
 
==Exempel==
Starta cmd som admin och kör,
+
Starta cmd som admin och skriv,
 
  choco install git 7zip vlc firefox -y
 
  choco install git 7zip vlc firefox -y
  

Revision as of 15:02, 3 August 2015

Chocolatey är en pakethanterare för Windows, som apt-get och yum.

Installation

Kör powershell som admin.

iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))

Exempel

Starta cmd som admin och skriv,

choco install git 7zip vlc firefox -y

GUI

choco install chocolateygui