MacinCloud Managed Servers come equipped with many frameworks to help you quickly get started with Mobile Development right out of the box. Homebrew comes pre-installed with MacinCloud Managed Servers, and this article will explain how to use brew's installed apps with your server account.



About Homebrew On a MacinCloud Managed Server


Homebrew is a package manager that installs the packages you need. Note, standard users cannot use brew but they can check the packages installed and request an installation by contacting our support staff.


In order to use brew's installed apps, run the following command in terminal to make the software visible to your user:
 
 # Intel based CPU 
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile && source ~/.bash_profile

# M1 CPU 
echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.bash_profile && source ~/.bash_profile
 
Then, check the installed packages with the following command:
brew list


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



Running Remotebuild Prompts for Homebrew to be Installed


When running Remotebuild you may be prompted to install Homebrew. To resolve, simply enter 'n' for the prompt instead of 'y'. After entering 'n', Remotebuild will detect the pre-installed Homebrew and run normally



Support


If you experience issues, or have any additional questions please contact our support staff. If you have any specific questions about Homebrew, we recommend taking a look at Homebrew's Community Discussion.




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?

Find out more about MacinCloud Dedicated Server Plans.