Skip to content

Latest commit

 

History

History
77 lines (58 loc) · 2.62 KB

ubuntu.md

File metadata and controls

77 lines (58 loc) · 2.62 KB

Development on Ubuntu

Git - version control

sudo apt install git -y && \
git config --global user.email "[email protected]" && \
git config --global user.name "username" && \

Visual Studio Code - text editor

sudo snap install code --classic

To get my VSCode settings you can install the Settings Sync extension. Then hit CTRL + SHIFT + P and enter Sync: Download Settings. Enter the following ID 6c4dfda01f083d7f104a2a8f51c8f452 and the settings will be installed. (The settings will be pull from this Github Gist)

Docker Compose - run multiple docker containers simultaneously

sudo apt install docker-compose -y && \
sudo gpasswd -a $USER docker && \
newgrp docker

Node.js - server side javascript runtime

sudo apt install nodejs -y

Yarn - node package manager

sudo apt install curl -y && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && \
sudo apt update && sudo apt install yarn

Bazel - test and build automation

sudo apt install python gcc -y
sudo yarn global add @bazel/buildifier --prefix /usr/local && \
sudo yarn global add @bazel/bazelisk --prefix /usr/local

Chromium and Firefox - web browsers

sudo snap install chromium && \
sudo snap install firefox

MicroK8s - lightweight kubernetes for development

sudo snap install microk8s --classic && \
sudo snap alias microk8s.kubectl kubectl && \
sudo snap alias microk8s.kubectl k && \
sudo usermod -a -G microk8s $USER && \
sudo chown -f -R $USER ~/.kube && \
su - $USER

Google Cloud SDK - cli for google cloud

echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
sudo apt-get install apt-transport-https ca-certificates gnupg && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && \
sudo apt-get update && sudo apt-get install google-cloud-sdk -y && \
gcloud init