์™œ ํ•„์š”ํ•œ๊ฐ€?

  • ์ฃผ๊ธฐ์ ์ธ ํฌ๋งท์ด ํ•„์š”ํ•˜๋‹ค๋Š” ๊ฒƒ์„ ๋Š๊ผˆ๋‹ค. 7๋…„๋™์•ˆ ์ •๋ฆฌ๋ฅผ ์•ˆํ•˜๋‹ค๋ณด๋‹ˆ ๋‚˜๋„ ์ŠคํŠธ๋ ˆ์Šค๋ฅผ ๋ฐ›๋”๋ผ..
  • ๊ทธ๋Ÿด ๋•Œ๋งˆ๋‹ค ๊ธฐ์กด์— ์‚ฌ์šฉํ•˜๋Š” ํ™˜๊ฒฝ์„ ๋‹ค์‹œ ๊ตฌ์ถ•ํ•˜๋Š”๊ฒŒ ๋„ˆ๋ฌด๋‚˜ ์‹œ๊ฐ„๋‚ญ๋น„๊ณ  ํ•˜๊ธฐ ์‹ซ์—ˆ๋‹ค.
  • ์…€์Šคํฌ๋ฆฝํŠธ๋ฅผ ํ†ตํ•ด ์ž๋™ํ™”๋ฅผ ํ•ด๋‘”๋‹ค๋ฉด ์ƒ์‚ฐ์„ฑ ํ–ฅ์ƒ์ด ์žˆ์„ ๊ฒƒ์ด๋ผ ํŒ๋‹จ!

์žฅ๋‹จ์ 

  • ์žฅ์ 
    • ์ฃผ๊ธฐ์ ์ธ ๊ธฐ๊ธฐ ๋ณ€๊ฒฝ์ด๋‚˜ ์—ฌ๋Ÿฌ ๋””๋ฐ”์ด์Šค์— ๋™์ผํ•œ ํ™˜๊ฒฝ์„ ์„ธํŒ…ํ•ด์•ผ ํ•˜๋Š” ํ•„์š”๊ฐ€ ์žˆ์„ ๋•Œ ๋งค์šฐ ์œ ์šฉํ•˜๋‹ค.
  • ๋‹จ์ 
    • ์‹œ๊ฐ„์„ ๋‚ด์„œ ๋งŒ๋“ค์–ด๋†”์•ผ ํ•˜๋ฏ€๋กœ ๊ท€์ฐฎ๋‹ค.

๋ชฉํ‘œ

  • ๋‚ด๊ฐ€ ์‚ฌ์šฉํ•  ์•ฑ๋“ค์— ๋Œ€ํ•ด์„œ ์Šคํฌ๋ฆฝํŠธ ํ•œ๋ฒˆ์œผ๋กœ ์„ธํŒ…์ด ๊ฐ€๋Šฅํ•˜๋„๋ก ๋งŒ๋“ ๋‹ค.

  • ๊ฒฐ๊ณผ๋ฌผ ํ•ด๋‹น ๋งํฌ์—์„œ ๋ฐ›์•„์„œ ์‚ฌ์šฉํ•˜๋ฉด ๋œ๋‹ค.

์„ค์น˜ํ•  ํ”„๋กœ๊ทธ๋žจ ๋ชฉ๋ก

ํ•ด๋‹น ํ•ญ๋ชฉ์ด ๋งˆ์Œ์— ๋“ค์ง€ ์•Š๋Š”๋‹ค๋ฉด, github์—์„œ ๋ฐ›์•„ Brewfile์„ ์ˆ˜์ •ํ•˜๋ฉด ๋œ๋‹ค. ๊ฐœ์ธ์ ์œผ๋กœ ์ถ”๊ฐ€๋„ ๊ฐ€๋Šฅํ•˜๋‹ค.

๊ธฐ๋ณธ ์„ค์น˜

  • bat
  • fasd
  • fzf
  • git
  • git-lfs
  • mas
  • neofetch
  • neovim
  • tig
  • zsh
  • mas
  • wget
  • python3

Brew๋กœ ์„ค์น˜

  • quicktype

์›น์œผ๋กœ๋ถ€ํ„ฐ ์„ค์น˜

  • alfred
  • appcleaner
  • gitkraken
  • hammerspoon
  • iterm2
  • notion
  • slack
  • telegram
  • visual-studio-code
  • zoom
  • keka
  • monitorcontrol
  • camo-studio
  • dash
  • figma
  • google-chrome
  • postman
  • karabiner-elements
  • charles
  • mattermost
  • zeplin
  • telegram

์•ฑ์Šคํ† ์–ด๋กœ๋ถ€ํ„ฐ ์„ค์น˜

  • Accelerate for Safari
  • BetterJSON for Safari
  • ColorSlurp
  • Dark Reader for Safari
  • Enpass - Password Manager
  • Gifski
  • KakaoTalk
  • Keynote
  • Magnet
  • Microsoft Excel
  • Microsoft PowerPoint
  • Microsoft Word
  • Movist
  • SnippetsLab
  • Spark โ€“ Email App by Readdle
  • Unicorn Blocker
  • Yoink
  • Unicorn HTTPS
  • Paste JSON as Code โ€ข quicktype
  • Slack
  • Twitter
  • ScreenBrush
  • Xcode

๋ฐฉ๋ฒ•

  1. HomeBrew๋ฅผ ๋‹ค์šด๋กœ๋“œ ํ•œ๋‹ค.
# ์„ค์น˜ํ™•์ธ ๋ช…๋ น์–ด
brew doctor
# Homebrew ์„ค์น˜ ๋ช…๋ น์–ด
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  1. cask, mas ์„ค์น˜ํ•œ๋‹ค.
  • cask: ์›น์‚ฌ์ดํŠธ์—์„œ ๋ฐ›์„ ์ˆ˜ ์žˆ๋Š” ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ์„ค์น˜๋ฅผ ๋„์™€์ฃผ๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
  • mas: ์•ฑ์Šคํ† ์–ด์—์„œ ๋ฐ›์„ ์ˆ˜ ์žˆ๋Š” ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ์„ค์น˜๋ฅผ ๋„์™€์ฃผ๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
brew install cask
brew install mas
  1. brewfile์„ ๋งŒ๋“ ๋‹ค.
touch Brewfile
  1. ์„ค์น˜ํ•˜๊ณ  ์‹ถ์€ ํŒจํ‚ค์ง€๊ฐ€ brew์— ์žˆ๋Š”์ง€ ํ™•์ธํ•œ๋‹ค.

๋งŒ์•ฝ ๊ธฐ๋ณธ ์ €์žฅ์†Œ์— ์žˆ๋‹ค๋ฉด Formulae์— ์žˆ๋‹ค๊ณ  ๋œจ๊ณ , ์›น ์ €์žฅ์†Œ๊ฐ€ ์—ฐ๊ฒฐ๋˜์–ด ์žˆ๋‹ค๋ฉด casks์— ์žˆ๋‹ค๊ณ  ๋œฌ๋‹ค. ์ด ์ฐจ์ด๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ Brewfile์„ ์ž‘์„ฑํ•ด์ฃผ๋ฉด ๋œ๋‹ค.

ํ˜น์€ ํ„ฐ๋ฏธ๋„ ์ฐฝ์—์„œ brew search๋ฅผ ํ†ตํ•ด์„œ ์ฐพ๋Š” ๋ฐฉ๋ฒ•๋„ ์žˆ๋‹ค.

  1. ๋งŒ์•ฝ ์—†๋‹ค๋ฉด ์•ฑ์Šคํ† ์–ด์—์„œ ์ฐพ์•„๋ณธ๋‹ค.

mas ํŒจํ‚ค์ง€๋Š” ์•ฑ์Šคํ† ์–ด์™€ ์—ฐ๊ฒฐํ•ด์„œ ์—ฌ๋Ÿฌ ๋ช…๋ น์„ ์ฒ˜๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ด๋‹ค. ์•„๋ž˜์˜ ๋‹ค์–‘ํ•œ ๋ช…๋ น์–ด ์ค‘์—์„œ search๋ฅผ ์‚ฌ์šฉํ•ด์„œ ์ฐพ์œผ๋ฉด ๋œ๋‹ค. ์ด ๋•Œ, id๊นŒ์ง€ ๋ช…์‹œํ•ด์„œ brewfile์— ์ž‘์„ฑํ•œ๋‹ค.

โˆ™ mas account : ๋งฅ ์•ฑ์Šคํ† ์–ด์—์„œ ๋กœ๊ทธ์ธ๋œ ์• ํ”Œ ID๋ฅผ ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค. โˆ™ mas help : ๋„์›€๋ง์„ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. โˆ™ mas install : ๋งฅ ์•ฑ์Šคํ† ์–ด์—์„œ ๋ฐฐํฌ์ค‘์ด๊ฑฐ๋‚˜ ๋ฐฐํฌํ•œ ์ ์ด ์žˆ๋Š” ์•ฑ์„ ๋‚ด๋ ค๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. โˆ™ mas list : ๋งฅ ์•ฑ์Šคํ† ์–ด๋ฅผ ํ†ตํ•ด ์„ค์น˜ํ•œ ์•ฑ์„ ๋ชฉ๋ก์œผ๋กœ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค. โˆ™ mas outdated : ๋‹ค์šด๋กœ๋“œ๊ฐ€ ์ค‘๋‹จ๋˜๊ฑฐ๋‚˜ ์‹คํŒจํ•œ ์•ฑ์„ ๋‚ด๋ ค๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. โˆ™ mas search : ๋งฅ ์•ฑ์Šคํ† ์–ด์—์„œ ์•ฑ์„ ๊ฒ€์ƒ‰ํ•ฉ๋‹ˆ๋‹ค. App Bundle Id๋ฅผ ์ฐพ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. โˆ™ mas signin/signout : ๋งฅ ์•ฑ์Šคํ† ์–ด์—์„œ ๋กœ๊ทธ์ธ/๋กœ๊ทธ์•„์›ƒํ•ฉ๋‹ˆ๋‹ค. โˆ™ mas upgrade : ๋งฅ ์•ฑ์Šคํ† ์–ด ์—…๋ฐ์ดํŠธ ๊ธฐ๋Šฅ์„ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค. โˆ™ mas version : mas-cli ๋ฒ„์ „์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

  1. ์™„์„ฑ๋œ brewfile์€ ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค.
tap "homebrew/core"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/bundle"
 
# brew install
brew "bat"
brew "fasd"
brew "fzf"
brew "git"
brew "git-lfs"
brew "mas"
brew "neofetch"
brew "neovim"
brew "tig"
brew "zsh"
brew "mas"
brew "wget"
brew "python3"
 
# brew install app
brew install quicktype
 
# cask install
cask "alfred"
cask "appcleaner"
cask "gitkraken"
cask "hammerspoon"
cask "iterm2"
cask "notion"
cask "slack"
cask "telegram"
cask "visual-studio-code"
cask "zoom"
cask "keka"
cask "monitorcontrol"
cask "camo-studio"
cask "dash"
cask "figma"
cask "google-chrome"
cask "postman"
cask "karabiner-elements"
cask "charles"
cask "mattermost"
cask "zeplin"
cask "telegram"
 
# Mac App
mas "Accelerate for Safari", id: 1459809092
mas "BetterJSON for Safari", id: 1511935951
mas "ColorSlurp", id: 1287239339
mas "Dark Reader for Safari", id: 1438243180
mas "Enpass - Password Manager", id: 732710998
mas "Gifski", id: 1351639930
mas "KakaoTalk", id: 869223134
mas "Keynote", id: 409183694
mas "Magnet", id: 441258766
mas "Microsoft Excel", id: 462058435
mas "Microsoft PowerPoint", id: 462062816
mas "Microsoft Word", id: 462054704
mas "Movist", id: 461788075
mas "SnippetsLab", id: 1006087419
mas "Spark โ€“ Email App by Readdle", id: 1176895641
mas "Unicorn Blocker", id: 1231935892
mas "Yoink", id: 457622435
mas "Unicorn HTTPS", id: 1475628500
mas "Paste JSON as Code โ€ข quicktype", id: 1330801220
mas "Slack for Desktop", id: 803453959
mas "Twitter", id: 1482454543
mas "ScreenBrush", id: 1233965871
mas "Xcode", id: 497799835
 
  1. ํ•ด๋‹น ํŒŒ์ผ์„ ์‹คํ–‰์‹œํ‚จ๋‹ค.
brew bundle --file=./Brewfile

ํ˜น์€, ์ถ”๊ฐ€ ์„ค์ •์ด ํ•„์š”ํ•˜๋‹ค๋ฉด ์…€ ์Šคํฌ๋ฆฝํŠธ๋ฅผ ๋งŒ๋“ค๊ณ  ์ด๋ฅผ ์‹คํ–‰์‹œํ‚ค๋Š” ๋ฐฉ๋ฒ•๋„ ์žˆ๋‹ค. ๋ธŒ๋žœ๋”” ๋žฉ์Šค์˜ ๊ธฐ์ˆ  ๋ธ”๋กœ๊ทธ๋ฅผ ์ฐธ๊ณ ํ–ˆ๋‹ค.

#!/usr/bin/env bash
 
# Homebrew ์„ค์น˜ ์—ฌ๋ถ€ ํ™•์ธ
if ! which brew
then
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
 
# ์Šคํฌ๋ฆฝํŠธ ๋‚ด์—์„œ ์ผ๋ถ€ sudo ๊ถŒํ•œ์ด ํ•„์š”ํ•œ ๋ช…๋ น์„ ์ˆ˜ํ–‰ํ•˜๊ธฐ ์œ„ํ•ด root ํŒจ์Šค์›Œ๋“œ๋ฅผ ์ž…๋ ฅ
# sudo ๊ถŒํ•œ์ด ํ•„์š”ํ•œ ์ด์œ  : cask๋กœ ์„ค์น˜ํ•œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๋ฐ”๋กœ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•ด ๋‹ค์šด๋กœ๋“œ ๋œ ํŒŒ์ผ์— ๋Œ€ํ•œ ๊ฒฉ๋ฆฌ ์†์„ฑ ์ œ๊ฑฐ ์ž‘์—…
read -r -s -p "[sudo] sudo password for $(whoami):" pass
 
# BrewFile ์‹คํ–‰ ๋ช…๋ น์–ด
brew bundle
 
# ์„ค์น˜ ์„ฑ๊ณต ์™„๋ฃŒ ๋ฉ”์„ธ์ง€ ๋…ธ์ถœ
printf '\n install success! \n'
  1. ์…€ ์Šคํฌ๋ฆฝํŠธ์˜ ์‹คํ–‰ ๊ถŒํ•œ์„ ์ฃผ์ž
chmod +x ./install.sh
  1. ์‹คํ–‰ํ•˜์ž.
sh install.sh

install.sh์—๋Š” ๊ฐœ์ธ์ ์œผ๋กœ ์„ธํŒ…ํ•œ ๊ฒƒ๋“ค์ด ์žˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด python 2.18 ๋ฒ„์ „์„ ๊ฐ€์ƒํ™˜๊ฒฝ์„ ํ†ตํ•ด ์„ค์น˜ํ•˜๋Š” ๊ฒƒ์ด ๋Œ€ํ‘œ์ ์ธ ์˜ˆ๊ฐ€ ๋  ์ˆ˜ ์žˆ๊ฒ ๋‹ค. ํ•ด๋‹น ๋ฒ„์ „์„ ์„ค์น˜ํ•˜๊ฒŒ ๋œ ์ด์œ ๋Š” ์ด ๊ธ€์„ ์ฐธ๊ณ ํ•ด์ฃผ๋ฉด ๊ณ ๋ง™๊ฒ ๋‹ค. ์ข€ ๋ง˜์— ์•ˆ๋“ ๋‹ค๋ฉด, ํ•ด๋‹น python 2๋ฒ„์ „์„ ์„ค์น˜ํ•˜๋Š” ๋ถ€๋ถ„๋งŒ ์ง€์›Œ์ฃผ๋ฉด ๋˜๊ฒ ๋‹ค.

ํ˜„์žฌ ์ƒํƒœ๋ฅผ ์ €์žฅํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด

brew bundle dump

bundle์ด๋ผ๋Š” ๊ธฐ๋Šฅ์„ ํ†ตํ•ด์„œ ํ˜„์žฌ ๋‚ด ๋งฅ์— ์„ค์น˜๋˜์–ด ์žˆ๋Š” ์•ฑ๋“ค์„ Brewfile๋กœ ์ €์žฅํ•˜๊ฑฐ๋‚˜ ์ƒ์„ฑํ•˜๋Š” ๊ฒƒ์ด ๊ฐ€๋Šฅํ•˜๋‹ค.

์ถ”๊ฐ€ - ๋™์˜์ƒ ๋…นํ™” ๋ฐฉ๋ฒ•

์ฐธ๊ณ