MacinCloud Managed Servers have many frameworks pre-installed that will help you get started with Mobile Development right away. Cocoapods is pre-installed on MacinCloud Managed Servers. Try a Mac Server with Cocoapods pre-installed by obtaining a Managed Server Plan to quickly get started.

Enable Cocoapods on a MacinCloud Managed Server


In order to use Cocoapods, you need to first add the latest version of ruby to your default Terminal path. Please simply run the following command in the Terminal app based on the Mac CPU chip type (Intel or M1):

# On a Mac with Intel chip CPU, run in Terminal:
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile

# On a Mac with M1 chip CPU, run in Terminal:
echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> ~/.bash_profile

Once the ruby path is injected, please restart the Terminal app, and issue the following command to confirm cocoapods is working, and display the current installed cocoapods version:

pod --version

To locate the path of cocoapods installed, run the following command:

gem which cocoapods

#Sample output: "/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods.rb"

Note: If you are using zsh as your shell, you will need to replace the shell profile with the following file ~/.zshrc


If you have any additional questions please contact our support staff. If you have any specific questions about Cocoapods, we recommend contacting their support.


I want to install CocoaPods on my MacinCloud server

How to Install Gems on a Managed Server Plan

Interested in MacinCloud Managed Servers?

Visit the Managed Server Plan page to obtain a Managed server.

Do you require full root/admin privileges on a MacinCloud Server?

Visit the Dedicated Server Plan page to obtain a Dedicated Server.