###### tags: `TrunkStudio`
# Create your unique terminal!
## Install List
* ZSH
* Oh My Zsh (A Framework for managing your zsh configuration)
* Powerlevel9k (A Theme Engine for ZSH)
* Nerd-Fonts (Fonts & Glyphs required for many of the ZSH themes)
## Linux
### Install ZSH
```
# Install zsh
sudo apt-get install zsh
# Verify your ZSH Version
zsh --version
# Change the default shell from bash to zsh
chsh -s $(which zsh)
# Restarts your computer
sudo shutdown -r 0
```

```
# This command should now return /usr/bin/zsh
echo $SHELL
```
### Install Oh My Zsh
```
# Clone the repository
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
# Backup your current ZSH Configuration
cp ~/.zshrc ~/.zshrc.orig
# Configure
source ~/.zshrc
```
### Install powerlevel9k
```
# Clone the powerline9k repo and save it in the directory as
# specified in Oh My Zsh docs
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
# modify .zshrc
vim ~/.zshrc
# Set ZSH_THEME in ~/.zshrc and save the file
ZSH_THEME="powerlevel9k/powerlevel9k"
# Configure
source ~/.zshrc
```
### Install Nerd-fonts
```
# Download the fonts using wget
# Depend on your terminal
wget https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/Hack/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete.ttf
# modify .zshrc
vim ~/.zshrc
# Set POWERLEVEL9K_MODE in ~/.zshrc and save the file
POWERLEVEL9K_MODE='nerdfont-complete'
# Configure
source ~/.zshrc
```
### Related link
Linux:
https://medium.com/@christyjacob4/powerlevel9k-themes-f400759638c2
Mac:
https://jeremysu0131.github.io/Tool-Mac-iTerm-2-Oh-My-Zsh-Powerlevel9k-%E8%A8%AD%E5%AE%9A/
https://medium.com/@h86991868/%E7%9C%8B%E8%86%A9%E4%BA%86%E4%B8%80%E6%88%90%E4%B8%8D%E8%AE%8A%E7%9A%84%E5%B0%8F%E9%BB%91%E7%AA%97-%E6%94%B9%E7%94%A8iterm2-oh-my-zsh%E5%90%A7-cc2b0683acb
Windows:
https://docs.microsoft.com/zh-tw/windows/terminal/
Powerlevel:
https://github.com/Powerlevel9k/powerlevel9k
https://github.com/romkatv/powerlevel10k
Fonts:
https://github.com/ryanoasis/nerd-fonts