Skip to content

Update scripts for apm, apt, brew, cargo, gem, npm, pip, yum, and more

Notifications You must be signed in to change notification settings

UpdateCommand/update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

Update command

Want to update your computer software? The update command can help you.

When you run update the command will run many software updates and upgrades.

Install

Clone the repo to your own system, such as:

$ git clone https://github.com/UpdateCommand/update.git ~/update

Add the bin directory to your own path:

$ export PATH="$PATH:~/update/bin"

Run the script:

$ update

Design goals

  1. Use POSIX simple shell scripts that developers can customize.

  2. Make it easy for developers to help by doing merge requests.

  3. Quality is intended for typical developer boxen. YMMV.

We welcome help, and new scripts, and constructive criticism.

If you prefer something more powerful, we highly recommend you consider tools such as Nix and Ansible.

To run daily

To run the update command daily, you can use the crontab command.

To see if you have an existing crontab file, you can list it by running this:

crontab -l > ~/.crontab

Edit the ~/.crontab file.

Add a line that runs the nice command and use the full path to the update command:

@daily /usr/bin/nice /foo/bar/update

Then install the file:

crontab ~/.crontab

Special options for package manager files

Some of the update programs can read package manager files:

  • update-brewfile looks for a Brewfile for macOS Homebrew packages.

  • update-gemfile looks for a Gemfile for Ruby gem packages.

  • update-podfile looks for a Podfile for XCode Cocoapod pacakges.

For details, see the respective programs.

Special options for project manifests

Some of the update programs can read project manifests:

  • update-cargo-crate looks for <config>/update-cargo-crate/manifests/*

  • update-git-pull looks for <config>/update-git-pull/manifests/*

  • update-hg-pull looks for <config>/update-hg-pull/manifests/*

Each manifest file is simply a list of local project directories.

The program skips lines that are comments (begin with #) or blank.

You can use as many manifest files and subdirectories as you like.

For details, see the respective programs.

Tracking

  • Package: UpdateCommand
  • Version: 8.0.0
  • Created: 2005-07-05
  • Updated: 2023-12-28T22:26:48Z
  • License: GPL-2.0-or-later or contact us for custom
  • Contact: Joel Parker Henderson (https://joelparkerhenderson.com)

About

Update scripts for apm, apt, brew, cargo, gem, npm, pip, yum, and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages