Setting Up a New Linux Environment

I find myself setting up Linux VMs quite often and I always dread getting my environment set up how I want it. Yesterday, I installed Linux on my Macbook and decided it was time to automate as much as possible. I had some notes that I was using to make sure I didn't miss anything when I did it manually, so I used that to build a script.

I saved it on Github so others could benefit from it as well. There are probably still some tweaks I need to make, but for the most part it works OK. The instructions for setting it up are in the readme, but I'll repeat it here as well:


Scripts for getting my linux environment set up from scratch.
This is focused on using zsh, Vim, Golang and Docker in Ubuntu Linux.


We need a few packages to be installed before running the setup script

sudo apt-get install curl git zsh

Install Oh My Zsh

sh -c "$(curl -fsSL"

Install Docker

sh -c "$(curl -sSL"

Run the install script

sh -c "$(curl -fsSL"

This will install Golang, setup your Golang coding environment and workspace, and configure Vim with some nice settings for Golang development.

comments powered by Disqus