본문 바로가기

TOPIC

mac 구매후 설치방법(개발자용)

반응형

mac을 구입후 세달동안 3번정도 포맷을 하다보니.... 필요한 설치후 필요한 기능들을 모아볼려고한다.

 

1. 미션컨트롤 기능

마우스를 이용해서 간단하게 화면을 분리하는 기능이다 정말 좋음.

 

시스템 환경설정 -> MissionControll -> 핫코너에서 다음과 같이 설정한다.

 

2. spectacle 

(윈도우에 없는 화면 분리기능이다, 이것도 정말좋음)

https://www.spectacleapp.com/

 

Spectacle

 

www.spectacleapp.com

3. homebrew 설치

(그냥 이것 때문에 맥쓴다고 봐도 무방함)

https://brew.sh/index_ko

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

m1원칩은 이렇게

/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/nrubin29/bea5aa83e8dfa91370fe83b62dad6dfa/raw/48f48f7fef21abb308e129a80b3214c2538fc611/homebrew_m1.sh)"

설치후 상시 실행을 위해 다음 입력

 

vi ~/.zshrc로 들어가서 마지막 줄에

 

eval $(/opt/homebrew/bin/brew shellenv)

 

4. iterm

 

https://iterm2.com/

 

iTerm2 - macOS Terminal Replacement

iTerm2 by George Nachman. Website by Matthew Freeman, George Nachman, and James A. Rosen. Website updated and optimized by HexBrain

iterm2.com

iterm 커스텀하는 녀석인데 정말좋음.

# zsh install
brew install zsh

# oh-my-zsh install
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

 

컬러 테마를 찾아서 선택

https://iterm2colorschemes.com/

 

Iterm Themes - Color Schemes and Themes for Iterm2

iTerm Themes Intro This is a set of color themes for iTerm (aka iTerm2). Screenshots below and in the screenshots directory. Installation Instructions To install: Launch iTerm 2. Get the latest version at iterm2.com Type CMD+i Navigate to Colors tab Click

iterm2colorschemes.com

url 복붙후 해당 url 입력

# curl이 설치되어 있지 않은 경우
brew install curl

# util이라는 이름의 directory를 생성하고 이동
mkdir util && cd util

# snazzy color theme를 download
# 만약 다른 color 테마를 다운로드 할 경우 curl -LO 이후에 해당 URL을 넣으면 됨
curl -LO https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/Snazzy.itermcolors

iterm 환경설정 -> profiles -> color -> color Presets 에서 다운로드한 녀석 import

 

Theme 변경

vi ~/.zshrc 입력후 

font 변경(한글 폰트는 개지기 때문에 LG에서 폰트를 가져옵니다)

https://github.com/powerline/fonts/blob/master/Meslo%20Slashed/Meslo%20LG%20M%20Regular%20for%20Powerline.ttf

 

 

마지막으로 터미널 사용자 이름 삭제 하는 방법

 

https://beomi.github.io/2018/01/30/Hide-username-on-MAC-terminal/

 

macOS 터미널에서 사용자이름 숨기기 - Beomi's Tech blog

Before 우리가 macOS를 사용하고 터미널을 켜면 다음과 같이 username@computername와 같은 형식으로 나타납니다. 이처럼 계정과 컴퓨터 이름이 나오는 경우 SSH와 같은 원격 접속시에는 어떤 계정으로 어

beomi.github.io

https://ooeunz.tistory.com/21

 

[개발 환경] iTerm2로 터미널 커스텀하기

이번 포스팅에선 Mac에서 사용하는 터미널을 꾸며보도록 하겠습니다. 사실 오래전에 작성한 글이지만, 꾸준하게 조회수가 있는 포스팅이라 좀 더 상세한 내용과 최근에 추가한 커스텀 항목을 추

ooeunz.tistory.com

5. github

 

brew install git

 

6.sourceTree

https://www.sourcetreeapp.com/

 

Sourcetree | Free Git GUI for Mac and Windows

A Git GUI that offers a visual representation of your repositories. Sourcetree is a free Git client for Windows and Mac.

www.sourcetreeapp.com

7. Vs Code

brew install --cask visual-studio-code

 

8. NVM

node 환경 사용해서 써야함..

 

$ sudo curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
$ vi ~/.bash_profile
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
source ~/.bash_profile

 

nvm ls 해서 나오면 성공 그뒤에는 nvm node install로 받으면 되고 m1같은경우 node14는 다음과 같이 설치

(밑에보면 m1 을 위한 node14버전 설치법 잇음.)

https://github.com/nvm-sh/nvm

 

nvm-sh/nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions - nvm-sh/nvm

github.com

m1은 v8,  v10으로 설치가 안될때가 잇는데 Rosseta 설정으로 하면 됩니다.

https://cutecoder.org/software/run-command-line-apple-silicon/

 

How to Run Legacy Command Line Apps on Apple Silicon

Being in the “bleeding edge” has its drawbacks in addition to benefits. Blazing a fresh trail means it’s more rough and plenty of unknowns. Similarly in open source software, supp…

cutecoder.org

9. Xcode

그냥 설치해야함

https://apps.apple.com/us/app/xcode/id497799835?mt=12 

 

‎Xcode

‎Xcode includes everything developers need to create great applications for Mac, iPhone, iPad, Apple TV, and Apple Watch. Xcode provides developers a unified workflow for user interface design, coding, testing, and debugging. The Xcode IDE combined with

apps.apple.com

 

10. File Zila (이상하게 쓸때많음)

https://www.softonic.kr/download/filezilla/mac/post-download

 

Download FileZilla 3.36.0 for Mac - free - latest version

Yummy FTP Lite Yummy FTP Lite는 속도, 신뢰성 및 생산성에 중점을 둔 FTP + SFTP + FTPS 파일 전송 클라이언트입니다.

www.softonic.kr

-------- 그 외 (업무용)

pulse Secure

 

 

반응형