pod is not recognized as an internal or external command in react native

roz333 picture roz333 · Feb 21, 2020 · Viewed 7.1k times · Source

I've installed image picker in my react native project and i am going to link the package in ios

I run these commands:

cd ios && pod install

But i'm getting this error:

pod is not recognized as an internal or external command

I am coding in windows 7 and my react native version is: "0.61.5"

How can i fix this?

Answer

masbossun picture masbossun · Feb 22, 2020

pod is command for Cocoapods, dependency manager for xcode project, so it means that cocoapods is expected to be running on macOS. However if you want to try, you can see this article about running pod commands on windows.