
You will need to install zsh, curl and git packages before you can install Oh My Zsh,
Steps to install Oh My Zsh on Ubuntu Docker Container
- Download docker image for Ubuntu: docker pull ubuntu
- Run the docker image: docker run ubuntu
- Run apt-get update to update the package list.
- Install zsh shell: apt-get install zsh
- Install curl: apt-get install curl
- Install git: apt-get install git
- Now run install.sh script from ohmyzsh github to install it,
# sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" Cloning Oh My Zsh... remote: Enumerating objects: 1279, done. remote: Counting objects: 100% (1279/1279), done. remote: Compressing objects: 100% (1235/1235), done. remote: Total 1279 (delta 24), reused 1216 (delta 24), pack-reused 0 Receiving objects: 100% (1279/1279), 1.06 MiB | 2.46 MiB/s, done. Resolving deltas: 100% (24/24), done. From https://github.com/ohmyzsh/ohmyzsh * [new branch] master -> origin/master Branch 'master' set up to track remote branch 'master' from 'origin'. Already on 'master' / Looking for an existing zsh config... Using the Oh My Zsh template file and adding it to ~/.zshrc. Time to change your default shell to zsh: Do you want to change your default shell to zsh? [Y/n] y Changing your shell to /usr/bin/zsh... Shell successfully changed to '/usr/bin/zsh'. __ __ ____ / /_ ____ ___ __ __ ____ _____/ /_ / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ / /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / \____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ /____/ ....is now installed!
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!