How to find out if CocoaPods was installed in my Mac?

1.5k views Asked by At

I want to know if CocoaPods was installed on my Mac. What should I type in terminal?

1

There are 1 answers

6
Surya Narayan Barik On BEST ANSWER

To execute a sudo command in Terminal on your Mac, you must be logged with an administrator account that has a password. You can use the sudo command in the Terminal app to execute commands as a different user, such as the root user. After you enter the command, Terminal asks you to enter your password.

To check and know more about sudo , open terminal and type man sudo

Cocopods : CocoaPods is a library dependency management tool for OS X and iOS applications. we need Gems to install cocopods .

RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a "gem"), a tool designed to easily manage the installation of gems, and a server for distributing them.

To install cocopods : Open terminal and type sudo gem install cocopods , no need to use any Ruby manager (rvn).

If it needed to update gems then use $ gem update --system.