- Connect to your raspberry Pi with SSH
- Install zsh :
sudo apt-get update && sudo apt-get install zsh - Edit your passwd configuration file to tell which shell to use for user
pi:sudo vim /etc/passwdand change/bin/bashand/bin/zsh - Reconnect to your raspberry, and check that zsh is the shell with
echo $0. - Switch to root :
sudo su - Install OhMyZsh :
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" - Disconnect from your instance and reconnect it.
Last active
June 24, 2025 18:26
-
-
Save anthonyray/08f805138c2b37c2554b777ea96513f2 to your computer and use it in GitHub Desktop.
Setting up OhMyZsh on a rapsberry Pi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also do step 3 as:
#chsh -i /bin/zsh
Logout of the session and then log back in it should have changed.