mac book

macbook react-native install

우유빛 2023. 7. 31. 11:42

 

2023 07 28

 

1. brew install & setting path

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

 

echo 'export PATH=/opt/homebrew/bin:$PATH' >> ~/.zshrc

$source ~/.zshrc

brew --version

 

 

2. install node.js

brew install node

 

3. install watchman

brew update

brew install watchman

 

4. expo cli

npm install --global expo-cli

 

5. ios expo account and login

app store - download "expo go"

account or login

 

6 run

shell - move the woking folder

expo init "projectName"

 

npx expo login  // using expo id/pw

npx expo start

 

7. confirm

ios - run expo and touch project name