Setting Up Local development Environment on Windows for DevOps: (Part-1: What are the tools and how to install?)

Humayun Rashid
2 min readAug 24, 2021

I had been using MacBook Pro for a quite long time at my old work. It’s great and installing a new software was like piece of a cake if Brew is installed.

( If you are using MacBook and don't know about Brew, you are missing great stuff! check it out here: https://brew.sh/ )

However, after joining to a new company, the scenario have changed. My MacBook is gone ( and I still miss it! ) and I got a HP laptop with Windows 10 installed on it.

Okay! I am a DevOps Engineer and I need following tools :

  1. A Code Editor ( Obvious choice is Visual Studio Code )
  2. GitHub Desktop ( Have started using it and so far so good)
  3. Virtual Environment for running Linux OS ( Of course VM Box)
  4. Vagrant ( or how else I am going to handle VM Environment? By click and play ? No way ! )
  5. Containers ( Can’t live without Docker!)
  6. Container Orchestrator ( you guessed it right, Kubernetes!)
  7. AWS Cli, AWS-Vault and Terraform( as I am mostly working on AWS and I would like to write everything as Infrastructure as a Code for AWS))
  8. Python3, JS, NodeJS, Angular

I was looking something similar as Brew for Windows 10. Then I came across Chocolatey.

“Chocolatey has the largest online registry of Windows packages. Chocolatey packages encapsulate everything required to manage a particular piece of software into one deployment artifact by wrapping installers, executables, zips, and/or scripts into a compiled package file.”

Install Chocolatey

Install Chocolatey is very staright forward with PowerShell and you need to make sure that “Get-ExecutionPolicy” is not Restricted. You can use Bypass to bypass the policy to get things installed or AllSigned for quite a bit more security. Open powershell and follow the following step :

  • Run Get-ExecutionPolicy.
  • If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process.
  • Now copy and paste the following command into your shell and press Enter:
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'))

Well done! You are mostly ready to start using Chocolatey!

To get started with the Chocolatey, you can write choco or choco -? .

That’s all for the first part of this post! See you to the next post where I will demonstrate how to setup nearly everything for your DevOps environment using Chocolatey and also with other tools!

--

--