Skip to content

Instantly share code, notes, and snippets.

@mstred
Created August 15, 2025 19:29
Show Gist options
  • Select an option

  • Save mstred/4a75bc4e288350b3b4ffe99034dba4e3 to your computer and use it in GitHub Desktop.

Select an option

Save mstred/4a75bc4e288350b3b4ffe99034dba4e3 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
{
sudo dnf update -y
sudo dnf groupinstall "Development Tools" -y
sudo dnf install zsh -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
}
{
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >> ~/.zshrc
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.zshrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew analytics off
brew update && brew upgrade --force && brew cleanup --prune=all && rm -rf "$(brew --cache)"
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
sudo systemctl enable --now docker
sudo usermod -aG docker $USER
exit
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment