Skip to content

divspace/upclean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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