DEV Community

Cover image for Install Chocolatey on your Windows machine
Souleymane. Tiendrebeogo
Souleymane. Tiendrebeogo

Posted on

Install Chocolatey on your Windows machine

"Chocolatey is a machine-level, command-line package manager and installer for software on Microsoft Windows. It uses the NuGet packaging infrastructure and Windows PowerShell to simplify the process of downloading and installing software"

https://chocolatey.org/install

After that Head to your Window search bar, select your cmd and launch it as administrator and then run the command below

 Get-ExecutitionPolicy 
Enter fullscreen mode Exit fullscreen mode

If it return " Restricted" , then follow up with the second command bellow

Set-ExecytionPolicy AllSigned or  Set-ExecutionPolicy Bypass -Scope Process
Enter fullscreen mode Exit fullscreen mode

Now, are ready to install chocolatey by running the command bellow

 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'))
Enter fullscreen mode Exit fullscreen mode

After that, run the command below to see chocolatey version

choco 
Enter fullscreen mode Exit fullscreen mode

you will be able to see chocolatey version

Image description

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay