Skip to content

Instantly share code, notes, and snippets.

@fransafu
Created April 23, 2022 06:33
Show Gist options
  • Save fransafu/9128c94a3a15f70d9727a3cbb287ba7c to your computer and use it in GitHub Desktop.
Save fransafu/9128c94a3a15f70d9727a3cbb287ba7c to your computer and use it in GitHub Desktop.
Install Oh-My-Zsh on Amazon EC2 instance running Amazon Linux

Install Oh-My-Zsh on Amazon EC2 instance running Amazon Linux

  1. Check for updates

    • sudo yum update -y
  2. Install dependencies

    • sudo yum install -y zsh util-linux-user
  3. Change to zsh to default

    • sudo chsh -s /usr/bin/zsh $USER
  4. Install Oh-My-Zsh (script link here)

    • sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  5. Disconnect and reconnect to the EC2 instance

NOTE: If you want to change the default theme, visit this website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment