I had to setup a fresh Ubuntu dev machine after quite some time. Given that this was a loaner machine, I wanted to make sure that I have a minimal viable dev setup ready as quickly as possible.
Below are the steps for the minimal things I need.
Upgrade packages
For a fresh setup it is better to first make sure that everything that is upgradable is up to date. If you have a specific version requirement for any package make sure you pin it at the package manager level.
Basic commands
|
|
ZSH setup
-
ZSH is an extended Bourne shell.
-
Together with Oh-My-ZSH it provides a delight full dev experience.
-
I personally like to use the
agnoster
theme from ohmyzsh with the pluginsgit common-aliases zsh-syntax-highlighting zsh-autosuggestions
-
For Ubuntu terminal make sure you got to
Terminal -> Preferences -> <Your Profile> -> Colors
and uncheck theUse system colors
option so that the theme colors are used in the terminal. -
Ohmyzsh standard plugins do not require explicit installation. Community plugins require some installation. Plugins links and installation guides are:
My simple ~/.zshrc
file:
|
|
SSH key-gen and add to repositories
Interacting with multiple hosted git repositories is much smoother when using SSH keys.
Specific git hosts provide their guides to do this, e.g: GitHub ssh key gen guide .
General setup includes:
- Generate a ssh key pair on a machine.
- Add it to your git host profile settings.
- Test ssh access to git
|
|
Basic software install
- VSCode. General post for VSCode helpers is here
- Slack
- Zoom
- Hugo . Hugo is fantastic website building framework. Awesome for static sites.
Programming language settings
Pull your code and go exploring :)