본문 바로가기
Diary

새 장비 셋팅하기 (맥북)

by 콜라찡 2024. 5. 14.

내가 빨리 셋팅하려고 정리해놓음..

 


 

0. 애플 아이디 만들기

 

1. 앱스토어에 애플 아이디로 앱 다운받기 (magnet, kakao, slack, chrome)

 

2. 기본 terminal로 homebrew 설치하기

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

 

3. brew --version 후,

zsh: no such file or directory: 라고 에러 뜨면 경로 추가해주기

echo 'export PATH=/opt/homebrew/bin:$PATH' >> ~/.zshrc
source ~/.zshrc
brew --version

 

4. miniconda 설치, 경로추가 (windows는 zsh 대신 bash)

brew install miniconda
conda init zsh
source ~/.zshrc

 

5. vscode 설치하기

brew install visual-studio-code
code

 

6. vscode 들어가서 확장 프로그램 설치하기 (copilot, jupyter, prettier)

 

7. git clone

 

8. 가상환경 만들기

conda create -n <이름>
conda env list
conda init zsh
source ~/.zshrc

 

9. 터미널 재부팅 > 폴더안에 > 가상환경안에 requirements 설치

conda activate <이름>
pip install -r requirements.txt

 

728x90

댓글