Macos Terminal Setup
Setup Terminal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
#Install zsh
brew install zsh
zsh --version
zsh 5.9 (arm64-apple-darwin24.0)
which zsh
/bin/zsh
#Change bash -> zsh
chsh -s 'which zsh'
echo $SHELL
/bin/zsh
#Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#Update oh-my-zsh setting
vi ~/.zshrc
export ZSH="$HOME/.oh-my-zsh"
export PATH=/opt/homebrew/bin:$PATH
export DEFAULT_USER="$(whoami)"
ZSH_THEME="agnoster"
plugins=(git, autojump, zsh-autosuggestions, zsh-syntax-highlighting)
#update oh-my-zsh
source ~/.zshrc
#iTerm2 설치
https://iterm2.com/downloads/stable/latest
#Powerline Font 설치
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
cd ..
rm -rf fonts
#iTerm2 ColorSet
curl -O https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/schemes/Framer.itermcolors
폰트 출처
https://github.com/romkatv/powerlevel10k
컬러테마 출처
https://github.com/mbadolato/iTerm2-Color-Schemes
터미널용 컬러 테마
iTerm2 용 컬러 테마
Install Homebrew
1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install Oh My ZSH!
To install:
1
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install PowerlineFont
https://github.com/powerline/fonts/tree/master/SourceCodePro
1
2
3
4
5
6
7
8
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
Install iTerm2
다운로드 링크 https://iterm2.com/downloads/stable/latest
Install Powerlevel10K
https://github.com/romkatv/powerlevel10k
To Install:
1
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
This post is licensed under CC BY 4.0 by the author.