Skip to content

Latest commit

History

History
78 lines (56 loc) 路 1.86 KB

readme.md

File metadata and controls

78 lines (56 loc) 路 1.86 KB

UpClean

An update and cleanup script for macOS.

Screenshot

Installation

You can use any of the methods below to install UpClean:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/divspace/upclean/master/installer.sh)"
sh -c "$(wget https://raw.githubusercontent.com/divspace/upclean/master/installer.sh -O -)"
curl -o upclean https://raw.githubusercontent.com/divspace/upclean/master/upclean.sh
chmod +x upclean
mv upclean /usr/local/bin/upclean

Usage

$ upclean --help

UpClean 1.4.0 馃Ъ upclean.app

An update and cleanup script for macOS.

Usage:
  upclean [options]

Options:
      --skip-clean               Skip cleaning
      --skip-composer            Skip updating Composer
      --skip-composer-packages   Skip updating Composer packages
      --skip-dns                 Skip flushing DNS cache
      --skip-docker              Skip cleaning Docker
      --skip-homebrew            Skip updating Homebrew
      --skip-mas                 Skip updating Mac App Store applications
      --skip-memory              Skip clearing inactive memory
      --skip-update              Skip updating
  -h, --help                     Display this help message

Configuration

You can configure the runtime options by adding them to the .upcleanrc file in your home directory:

# File: ~/.upcleanrc
--skip-dns
--skip-memory

Passing options directly will override any configuration options that you may have set.

Update

curl -fsSL "https://raw.githubusercontent.com/divspace/upclean/master/installer.sh" | bash -s update

Uninstall

curl -fsSL "https://raw.githubusercontent.com/divspace/upclean/master/installer.sh" | bash -s uninstall