Skip to content

demartini/upmm.fish

Repository files navigation


Logo

upmm.fish

Update My macOS


gitter badge releases badge fish version badge license badge

Table of Contents

Why

Update My macOS is a plugin for Fish Shell that helps you update software via Terminal on macOS.

Features

  • Updates
    • Homebrew Formulas & Casks
    • Node Package Manager
    • Yarn
    • Fish Shell
      • Completions
      • fisher plugins
      • Oh My Fish plugins
    • RubyGems
    • Python 2.7 & 3
    • Mac App Store Applications
    • macOS Operating System
  • Tab completions
  • 100% pure Fish

Want more features? Please open an issue or send a pull request!

Installation

Install with Fisher (recommended):

fisher install demartini/upmm.fish

Dependencies

Missing commands are not updated, but you might want to install mas to update applications from Mac App Store.

brew install mas

Usage

Call upmm in your terminal with an option:

$ upmm [<option>]

demo

Option Description
upmm Updates everything.
upmm --brew Updates Homebrew Formulas and Casks.
upmm --npm Updates npm global packages.
upmm --yarn Updates Yarn global packages.
upmm --fish Updates Fish Shell plugins and completions.
upmm --gem Updates the installed gems.
upmm --pip2 Updates Python 2.7.X pips.
upmm --pip3 Updates Python 3.X pips.
upmm --mas Updates Applications in the Mac App Store.
upmm --macos Updates the macOS Operating System.
upmm --version Show the current version.
upmm --help Print help.

Customization

Using custom command

If you would like to customize upmm default command, then set your own UPMM_CMD universal variable. For example:

set --universal --export UPMM_CMD up

Alternatively, you can add the following line to your ~/.config/fish/config.fish:

set --export UPMM_CMD up

Contributing

If you are interested in helping contribute, please take a look at our contribution guidelines and open an issue or pull request.

Changelog

See CHANGELOG for a human-readable history of changes.

Inspiration

License

Distributed under the MIT License. See LICENSE for more information.