Skip to content

Instantly share code, notes, and snippets.

@RicardoR
Last active March 20, 2016 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RicardoR/b65add8e3b7f30fb65ef to your computer and use it in GitHub Desktop.
Save RicardoR/b65add8e3b7f30fb65ef to your computer and use it in GitHub Desktop.
Installing oh my zsh

Prerequisites:

  • zsh
  • git
  • curl or wget

1. Check if zsh is installed:

zsh --version

Expected result:

 zsh 5.0.5

If zsh is not installed, install it:

  sudo apt-get update
  sudo apt-get install zsh

2. Check if git is installed:

 git --config

Expected result:

  git version 2.5.0

If git is not installed, install it:

  sudo apt-get install git

Installing oh my zsh:

Option 1: via curl:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Option 2: via wget:

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

Change default shell:

chsh -s /bin/zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment