ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"brew doctorYou can add a basic user to the sudoers file as admin.
source
sudo visudoIt should look like this:
# User privilege specification
root ALL=(ALL) ALL
%admin ALL=(ALL) ALLType i to enter the Insertion Mode.
username ALL=(ALL) ALLType esc to quit Insertion Mode, then type :wq to quit Vi.
You should update the local data base of brew before any operation.
brew updateThis command is used to remove/uninstall old versions of packages.
brew cleanup packagebrew cleanup -nbrew cleanupTo fix all the warnings (outdated Xcode/CLT and unbrewed dylibs are very likely to cause problems).
brew doctorTo have some infos on the package (version,…), you can use this line before intalling:
brew cask info packageNamebrew install packageList of the packages which can be removed without problem.
brew leavesList of the missing packages, that means the recipes that are a dependency of another installed package but are not installed.
brew missingTo find out which packages are outdated.
brew outdateduninstall and rm are also available.
brew remove softwareNameBefore installing a package, you can search it to choose the version (Pyhton 2 or 3), to have the right name,…
brew search packageGo to this page: Cask
and type the wanted sofware.
This site is also available.
This command will upgrade the outdated packages.
brew upgradebrew upgrade packagebrew pin packageRemarque: The unstop it, replace pin with unpin.
Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications.
brew install antHomebrew Cask extends Homebrew and brings its elegance, simplicity, and speed to macOS applications and large binaries alike.
brew tap caskroom/caskRemarque: When you install stuff with Cask (not as admin), you have to give the right to write to the 'Staff' group on '/Users/alexandre/Library/QuickLook' (through the GUI).
Preview iOS / macOS app and provision information
brew cask install provisionqlPreview source code files with syntax highlighting
brew cask install qlcolorcodePreview plain text files without or with unknown file extension. Example: README, CHANGELOG, index.styl, etc.
brew cask install qlstephenPreview Markdown files
brew cask install qlmarkdownThis is a QuickLook plugin for OS X 10.11+ to display the dimensions of an image and its file size in the title bar. It can also preview and generate Finder thumbnails for unsupported images formats like bpg and WebP.
brew cask install qlimagesizeCommon Lisp is a high-level, general-purpose, object-oriented, dynamic, functional programming language.
brew install clispExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in a wide variety of files.
brew install exiftoolGo is an open source programming language that makes it easy to build simple, reliable, and efficient software.
brew install goRemarque: You have to add this to the PATH:
# go path
export GOPATH=/Users/alexandre/go/
export PATH=$GOPATH/bin:$PATHCreate licenses from the command-line.
go get -u github.com/nishanths/licenseA simple command line interface for the Mac App Store. Designed for scripting and automation.
brew install masBPG(Better Portable Graphics) is a new image format. Its purpose is to replace the JPEG image format when quality or file size is an issue.
brew install libbpgUse your OS X terminal shell to do awesome things.
💥 Swiss Army Knife for macOS !
macOS command line tools for developers – The ultimate tool to manage your Mac. It provides a huge set of command line commands that automatize the usage of your OS X system.
Keep your application settings in sync (OS X/Linux)
# Install Mackup
brew install mackup
# Launch it and back up your files
mackup backup
# Or
# Launch it and restore your files
mackup restore