DEV Community

Rodrigo Juarez for Coding Coach

Posted on • Edited on

1 1

Chocolatey, a better way to install software on windows

This post is aimed primarily to software developers using windows. You should have basic knowledge about your operation system.

When you need to install a new tool, you will have the issue to try to find the location to download it, get the latest version for your SO, and so on.

Trying to improve the user experience related to managing your software installation, Chocolatey comes to the rescue.

Image

This piece of software will allow you to use the windows command line to install, update or uninstall your favorite tools and programs.

You can see a curated list of available packages here.

Install instructions are available in the following link.

In a nutshell, open a PowerShell CLI in administrator mode and execute the following command:

iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
Enter fullscreen mode Exit fullscreen mode

If you got an error message about running scripts disabled in your system, just run this in your current PowerShell window (more info):

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Enter fullscreen mode Exit fullscreen mode

After this, open your windows command prompt as Administrator and use the choco -? command to see more information.
For example, I can install ConsoleZ with:

choco install consolez
Enter fullscreen mode Exit fullscreen mode

Or update it with:

choco upgrade consolez
Enter fullscreen mode Exit fullscreen mode

Usually, the same installer will add the program to the path, so, in this case, use the console command to open your new installed software.

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (1)

Collapse
 
yogesnsamy profile image
Yogeswari Narayasamy • Edited

Thank you, now I understand what chocolatey is. I had to use it while installing docker and the instructions were overwhelming. I did eventually manage to get docker engine running but it was without actually comprehending what I did.

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

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay