반응형
0. vi 설정
vi ~/.vimrc
if has("syntax")
syntax on
endif
set autoindent
set ts=4
set sts=4
set shiftwidth=4
set showmatch
set expandtab
set fileencodings=utf8,euc-kr
1. xcode 설치
App store 에서 설치 (iOS 컴포넌트를 같이 받아 준다.
2. brew 설치
Homebrew
The Missing Package Manager for macOS (or Linux).
brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
명령어 한방이면 끝
3. ruby 버전 업
여전이 2 버전에 머물러 있으니, brew 를 이용해 rbenv를 설치해서 업그레이드 하자
brew install rbenv ruby-build
rbenv install -l # 설치후 설치가능한 ruby 버전 확인 (현재 3.4.9)
rbenv install 3.4.9
rbenv global 3.4.9
## rbenv 구성 적용을 위한 추가
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc
source ~/.zshrc
ruby -v
4. cocoapod 설치 & gem upgrade
gem install cocoapods
gem update --system 4.0.9 # cocoapods설치후 gem 버전이 낮으면 설치하라고 나오는 버전으로 설치하자!
gem -v
5. react native 샘플 프로젝트 생성 하고 테스트
npx create-expo-app@latest
cd my-app
npm run ios
6. rails 설치하고 신규 프로젝트 생성후 서버 실행
gem install rails
rails new my_first_app
cd my_first_app
rails server
이제 gemini 나 claude code 를 설치하면된다 -ㅅ-;
반응형