Table of Contents
  • Chocolatey

    published: 2024-10-27

    tags: chocolatey,install

    Packages

    Install

    Chocolatey can be installed using various methods

    Standard

    1. Ensure you are using your powershell in admin mode
    2. Run Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process. Remember to revert this after installation
    3. Run
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

    this is the current version on the site

    1. run choco or choco -? to see if it worked

    NuGet Package Manager

    install by downloading the chocolatey.nupkg file and installing it

    1. ensure the NuGet Package Provider is installed and trusted

      1. Install the NuGet Provider: Run the following command in PowerShell to install the NuGet package provider
      Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
      1. If the PowerShell Gallery is not trusted, you may also need to set its installation policy to trusted:
      Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
    2. Download the Chocolatey Package You can download the chocolatey.nupkg file directly from a repository (such as the official community feed or an internal repository) to a local path.

    3. Install the Package: Once the .nupkg file is downloaded, use the NuGet command line tool (nuget.exe) or PowerShell to install it:

    nuget install chocolatey.nupkg -OutputDirectory .\chocolatey

    chocolatey.lib via Package Manager Console in Visual Studio

    Alternatively, if using the chocolatey.lib package within a .NET project, you can add it via the Package Manager Console:

    Install-Package chocolatey.lib

    in Visual Studio

    1. open Visual Studio 20XX with admin privileges
    2. in Visual Studio open package manager console
    3. run Install-Package chocolatey in package manager console and wait for it to finish
    4. run Initialize-Chocolatey in package manager console and wait for it to finish
    5. run choco or choco -? to see if it worked

    Applications

    NotePad++ - choco install notepadplusplus -y

    7 Zip - choco install 7zip.install -y

    VSCode - choco install vscode -y

    VSCodium - choco install vscodium -y - More Instructions Required

    Git - choco install git -y

    NODE JS - choco install nodejs -y

    Visual Studio 2026 Professional - choco install visualstudio2026professional -y - PAID PRODUCT

    Visual Studio 2026 Community - choco install visualstudio2026community -y

    Agent Ransack - choco install agentransack -y - would like a replacement

    VLC - choco install vlc -y check for LTS version, this installs latest

    Steam Client - choco install steam -y

    Windows Terminal - choco install microsoft-windows-terminal -y

    Microsoft .NET 6.0 SDK - choco install dotnet-6.0-sdk -y

    Microsoft .NET 8.0 SDK - choco install dotnet-8.0-sdk -y

    Microsoft .NET 10.0 SDK - choco install dotnet-10.0-sdk -y

    brave browser - choco install brave -y

    NVM - choco install nvm -y

    fiddler - choco install fiddler -y

    MySQL Workbench - choco install mysql.workbench -y

    docker desktop - choco install docker-desktop -y - PAID PRODUCT

    postman - choco install postman -y - CLOUDED PRODUCT

    Git Extensions - choco install gitextensions -y

    Discord - choco install discord -y