DEV Community

Cover image for 1/20 Coding Day
Vishnu
Vishnu

Posted on • Updated on

1/20 Coding Day

hello geekies...

First day i am going to setup react native project in macOS.
So as we all do i search on google 'How to Setup React Native project in mac' and where i found lot of blog/post.

Let me tell you first one of my bad habit is i don’t read blog, i just jump on the code example and try to understand what is going or what i need to do or which cmd i need to copy/paste.

I found on google to setup React native project we need following things:

  1. node
  2. android studio (for virtual device)
  3. watchman (don't know why?)
  4. Xcode (don't know why?)
  5. java (i think for apk building)

Lesson of the Day

I learn one main think in mac what we install with brew so we need setup path in shell working directory.
we can check current working directory with this cmd echo $0 or ps. and in my case i am using zsh shell.

One more thing...

i am using nvm (node version manager) for use multiple version. For install use brew install nvm cmd and after that i set nvm path in ~/.zshrc file

Top comments (0)