Homebrew Suite Manager installation using

Source: Internet
Author: User

Official website installation command:

Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"

If you already have the installation you want to reinstall, call this command before you install it:

rm-rf/usr/local/cellar/usr/local/.git && Brew Cleanup


When installing the kit via homebrew (for example: sudo brew install xctool), you will encounter this issue:

Error:cowardly refusing to ' sudo brew install '
You can use a brew with sudo and only if the brew executable are owned by root.
However, this is both not recommended and completely unsupported so does at
Your own risk.

This means that brew does not have root privileges now.


Check the permissions for this file now: You can see that the side file does not have root permissions.

Now you need to modify this file to have root privileges:

After the modification, the file will have root privileges.


Now you can install the Automatic Packaging tool Xctool with sudo brew install xctool ...


Advanced iOS Development Technology Exchange Group: 415239068, Welcome to join US


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.