DEV Community

Cover image for 1/20 Coding Day
Vishnu
Vishnu

Posted on • Edited 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

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay