Getting Started with DevOps:


Windows Setup using Chocolatey
If you're starting your DevOps journey on Windows, setting up your local environment can feel overwhelming. Thankfully, Chocolatey makes it incredibly easy to install and manage essential tools using a simple command line.
In this post, Iβll walk you through how I used Chocolatey to quickly set up:
β
Git
β
AWS CLI
β
Vagrant
β
VirtualBox
β
Docker Desktop
β
Visual Studio Code
β
IntelliJ IDEA
β
Notepad++
π What is Chocolatey?
Chocolatey is a package manager for Windows β like apt
for Ubuntu or brew
for macOS. It lets you install software with simple commands in PowerShell or CMD.
π οΈ Step 1: Install Chocolatey
First, open PowerShell as Administrator and run the following command:
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 script downloads and installs Chocolatey securely.
To confirm it's installed:
choco --version
π¦ Step 2: Install Essential DevOps Tools
Here are the tools I installed with Chocolatey:
π§βπ» Git
choco install git -y
π© AWS CLI
choco install awscli -y
π₯ VirtualBox
choco install vagrant -y
π³ Docker Desktop
choco install docker-desktop -y
π§ Developer Editors and IDEs
π Visual Studio Code
choco install vscode -y
π‘ IntelliJ IDEA Community Edition
choco install intellijidea-community -y
βοΈ Notepad++
choco install notepadplusplus -y
β Optional: Handy Utilities
π 7zip
choco install 7zip -y
π Pro Tips
Add
--force
to reinstall any tool.Use
choco upgrade all -y
to upgrade everything in one go.Always run as Administrator when using Chocolatey.
π― Wrapping Up
In just a few minutes, you can go from a clean Windows install to a fully set-up DevOps development environment using Chocolatey. Fast, repeatable, and much less clicking.
π§ͺ Whatβs Next?
In the next post, Iβll show how I set up:
GitHub
AWS
DockerHub
SonarCloud
Plus how to organize your credentials and SSH keys
π¬ Have any favorite tools you use in your setup? Drop them in the comments!
Subscribe to my newsletter
Read articles from Shaharyar Shakir directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
