Giter Site home page Giter Site logo

asheroto / choco.run Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 1.0 892 KB

Install Chocolatey on any computer in one short command using Choco.run!

Home Page: https://choco.run

PowerShell 100.00%
chocolatey choco auto automatic command windows powershell install installation installer

choco.run's Introduction

GitHub Release Date - Published_At GitHub Downloads - All Releases GitHub Sponsor Ko-Fi Button

Install Chocolatey in one simple line

demo

In a hurry? Bad memory? Just want to get some Chocolatey goodness in your machine?

Choco.run makes installing Chocolatey easy!

Usage

Run in PowerShell (as an Administrator):

irm choco.run | iex

Alternate method - disable Chocolatey prompts

This method installs Chocolatey but also disables the Yes/No prompts when installing, upgrading, or uninstalling.

Run in PowerShell (as an Administrator):

irm alt.choco.run | iex

Alternate method, without choco.run

Run in PowerShell (as an Administrator):

Install-PackageProvider -Name "NuGet" -Force
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
Install-Module -Name "Chocolatey"

How it works

meme

choco.run redirects to the latest code-signed release of install.ps1. It detects the user agent that the request is coming from and redirects to either the PowerShell script or redirects to the GitHub repository. With this method, PowerShell sees the script, and your web browser sees the repository.

alt.choco.run redirects to the latest code-signed release of install.ps1.

Troubleshooting

If you need to install Chocolatey and for some reason the above commands are not working, you can always go to manual.choco.run which redirects to the official Chocolatey setup page.

If when you download the script you see HTML instead of PowerShell code, you can use the following URL to force a the PS1 script download (see How it Works):

irm choco.run/install | iex

or for the alternate method:

irm alt.choco.run/install | iex

choco.run's People

Contributors

asheroto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.