Mac CLI
macOS command line tools for developers
:star: Now with modularity and plugins! You can check the plugins folder: /mac-cli/plugins
Contributions to add new plugins and keep improving the existing ones are welcome and very much appreciated!
The ultimate tool for developers to manage their Mac. It provides a huge set of command line commands that automate the usage of your macOS system.
When you run a function, the executed command is displayed and that helps you memorize each of the Utilities for future usage.
Installation in 1 Simple Step - Including configuration wizard!
Via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/install)"
Via wget
sh -c "$(wget https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/install -O -)"
Then, re-open your terminal client. You will be able to run all the commands listed below, for example:
mac help
Configuration
The configuration is done when you install Mac CLI for the first time though the installer configuration wizard.
After that, you can update your Mac CLI configuration by editing the following file: /usr/local/bin/mac
Requirements
These are the requirements to be able to run all the commands (the dependencies/requirements are installed when you install Mac CLI for the first time):
- Homebrew
- Git
- Python
- Pipe Viewer (pv)
Update
You can update Mac CLI to the latest version by running:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/update)"
Uninstallation
You can uninstall Mac CLI by running:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/uninstall)"
Integrated Projects
The following amazing projects have been integrated on the mac script (all the integrated projects are optional and can be installed through the installation wizard):
- Glances (https://github.com/nicolargo/glances)
- MySQL CLI (https://github.com/dbcli/mycli)
- fast-cli (https://github.com/sindresorhus/fast-cli)
- n98-magerun (https://github.com/netz98/n98-magerun)
- n98-magerun2 (https://github.com/netz98/n98-magerun2)
- imageOptim
- iStats