Issues with homebrew and @ permissions installed under Mac
1, Homebrew Introduction:
Homebrew is a package manager for installing UNIX tools that Apple does not have preinstalled but you need. (such as the famous wget).
Homebrew installs the package to a standalone directory (/usr/local/cellar) and soft-links its files to/usr/local.
Homebrew does not install files outside of its own directory, so you can install homebrew anywhere.
Homebrew makes MacOS more complete. Use Gems to install GEMS, and brew to install those dependent packages.
Installation:
/usr/bin/ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"
Website Link: https://brew.sh/index_zh-cn.html
2. Permissions on Mac:
, the Mac will have a special @ permission (additional attribute (extended attributes)), and sometimes the script cannot be executed because of the permission being changed, and the @ permission must be removed:
xattr-d com.apple.quarantine "FileName"
Xattr-d-R com.macromates.selectionRange./*
Issues with homebrew and @ permissions installed under Mac