No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-08 23:04:52 +02:00
bin Use title 2026-09-08 23:04:52 +02:00
README.md Update readme 2026-09-07 09:18:04 +02:00

update

A script that updates everything: system packages, rust, npm, tpm packages, dotfiles and neovim plugins.

Installation

tpm install update

Usage

update                # full update of everything
update rust neovim    # update only some parts
update check          # tell whether the system was recently updated
update startup        # same, but silent on success (for shell startup)
update last-update    # print the last update date
update postpone       # skip the current update (disable check warnings)

Run update --help for the full list of subcommands.

Configuration

Optional, in ~/.tpm/config/update/env:

UPDATE_CHECK='weekly'        # daily | weekly | monthly
UPDATE_CHECK_TYPE='sliding'  # sliding | calendar
UPDATE_CHECK_ALWAYS='true'   # also print a message when up-to-date

Create ~/.tpm/config/update/noroot to skip the system update on machines where you don't have root.

Notes

  • The sudo password is asked once at the beginning, then kept alive for the whole run.
  • Interrupting with Ctrl-C lets the current section finish cleanly instead of killing the package manager mid-transaction.
  • Supported system package managers: apt-get, pacman (+ paru/yay for AUR), dnf, snap.
  • Executable scripts in ~/.tpm/config/update/update.d/ are run after a full update, in lexical order.