Skip to content

Upgrade

  1. Upgrade the binary

    Terminal window
    brew update && brew upgrade moat

    Hooks keep working after an upgrade in the same place. moat doctor confirms it.

  2. Take the new default rules, if you want them

    Your policy is kept as it is, so a rule the new default gained is offered, not forced. moat says “policy update available: N changes” and offers to show them.

    Terminal window
    moat policy upgrade --dry-run # what the new default adds, as a diff; changes nothing
    moat policy upgrade # shows the diff, asks, keeps a backup and re-pins
    moat policy upgrade --undo # put the previous policy back

    Lines you changed are never touched.

Every release and what changed in it: Releases.