Craftsman at work

I'm Artur Karbone, coding software architect and independent IT consultant and this is my blog about craftsmanship, architecture, distributed systems, management and much more.

.NET Core: Provisioning Your Dev Environment With Simple Tools

Are you still spending days to provision/install your dev environment from scratch when you need to? You gotta stop it. It is insane. There is a better way.

This year i was lucky to attended devops class by Andrey Adamovich from Devchampions team. This event took my automation mindset to the next level.

In this post, I want to show how to quickly provision .NET Core oriented dev environment in Windows. The simplest way I found is to use Chocolatey package manager.

So let's get started.

The very first step is Chocolatey installation. Here is the PowerShell script:

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(''))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

Next. I need my favorite browsers. Let's grab them":

choco install googlechrome -y  
choco install firefox -y  

Containers and Vagrant are great tools for running different services in isolation:

choco install docker -y  
choco install docker-compose -y  
choco install vagrant -y  

Source control tools is a must have:

choco install git -y  
choco install sourcetree -y  

Moving along, IDEs and code editors:

choco install visualstudiocode -y  
choco install visualstudio2015community -y  

Let's don't forget about persistence:

choco install sqlserverlocaldb -y --allow-empty-checksums  
choco install sql-server-management-studio -y  

I'm into Angular2 these day. Let's install Angular CLI tools:

choco install nodejs.install -y  
npm install -g angular-cli  

.NET Core itself: SDK + Tooling for VS:

choco install dotnetcore -y  
choco install dotnetcore-vs -pre -y  

Messengers of your choice:

choco install skype -y  
choco install telegram -y  

That's it. My minimal toolbox for .NET Core development is ready.

The great thing is that -y option in the script above means unattended installation. Just launch it and keep calm.

Check out the whole thing in my Github and subscribe to my mailing list in the right upper corner if you like it.

comments powered by Disqus