React Native 프로젝트 세팅
RN CLI 깔고 프로젝트 초기화하는 법.
React Native 프로젝트 세팅
RN CLI 설치
npm install -g react-native-cli
글로벌로 React Native CLI 설치함. 이거 있어야 react-native 명령어 쓸 수 있음.
새 프로젝트 만들기
npx react-native init [프로젝트명]
새 React Native 프로젝트 초기화. npx는 로컬 패키지 실행할 때 유용함. [프로젝트명] 자리에 원하는 이름 넣으면 끝.
여기서 배울 것
- RN CLI는 글로벌 설치.
- `npx`로 프로젝트 바로 초기화 가능.
- `[프로젝트명]` 자리 잘 채워 넣기.
원본 파일 보기 (.claude/skills/tn-react-native-setup/SKILL.md)
---
name: React Native 프로젝트 설정
description: This skill should be used when the user asks to set up a new React Native project or initialize a React Native application.
version: 1.0.0
source: /home/son/prj/resume/backup_notes_260317/notion/Tech Note/React Native Setup 1c36e14b9302405c8ef11eb46e4c5a3b.md
---
# React Native Setup
Install React Native CLI:
Open your terminal and run:
```
npm install -g react-native-cli
```
```
npx react-native init YourProjectName
```