Skip to content

Instantly share code, notes, and snippets.

@juanpujol
Last active April 14, 2021 21:56
Show Gist options
  • Save juanpujol/23126cb7d449ebced87b33bcdb7d55e0 to your computer and use it in GitHub Desktop.
Save juanpujol/23126cb7d449ebced87b33bcdb7d55e0 to your computer and use it in GitHub Desktop.
Initial script to prepare development machine
#!/bin/bash
echo "===> Update & Upgrade Ubuntu"\n
sudo apt-get update
sudo apt-get upgrade -y
echo "===> Install Docker"
sudo curl -fsSL https://get.docker.com -o get-docker.sh | sh
sudo sh get-docker.sh && sudo rm get-docker.sh
sudo usermod -aG docker ubuntu
echo "===> Install Nix"
sudo curl -L https://nixos.org/nix/install | sh
. /home/ubuntu/.nix-profile/etc/profile.d/nix.sh
echo "===> Install Oh-My-Bash"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
echo "===> Reboot"
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment