command not found: react-native-macos

Author: thuanphamdevCreated Mar 6, 2020Updated Mar 9, 2026
Labelsbug

Bug Report

command not found: react-native-macos

To Reproduce

Steps to reproduce the behavior:

Expected Behavior

I installed

npm install react-native-macos-cli -g

and I started the project with the

react-native-macos init RNMacos

command then the message

zsh: command not found: react-native-macos will appear

Show me how to fix it. Thank you very much.

Minimal Reproduction

(For bugs that cannot be reproduced within RNTester, please provide a minimal repository.)

Environment

  • macOS v10.15.3
  • react-native-macos v2.0.1