Project

General

Profile

Support #897

Install Chocolatey on Windows 10

Added by Daniel Curtis over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installation
Target version:
Start date:
05/28/2017
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

This is the simple one-liners to download and run the Chocolatey online installer on Windows 10.

Using cmd

  • Open a command prompt as administrator.
  • Install chocolatey using the command prompt:
    @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" 
    

Using PowerShell

  • Open a powershell session as administrator.
  • Check the script execution policy:
    Get-ExecutionPolicy
    
  • If the policy is Restricted, set the execution policy to Bypass to disable the execution policy:
    Set-ExecutionPolicy Bypass
    
    • NOTE: If you a secure environment is needed set the execution policy to AllSigned:
      Set-ExecutionPolicy AllSigned
      
  • To install chocolatey using PowerShell:
    iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    

Resources

History

#1 Updated by Daniel Curtis over 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved
  • Description updated (diff)

#2 Updated by Daniel Curtis over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF