Skip to main content

axm hooks update

Update configured hook extensions to the newest versions their sources offer

axm hooks update [<name...>] [flags]
NameTypeRequiredDefaultDescription
<name>stringNoInstalled name or glob; omit to update all
NameTypeRequiredDefaultDescription
--sourcestringNoUpdate only hook extensions whose source is this registry FQN, Git locator, or path
--scopechoice (project, user)NoprojectWorkspace scope
--reinstallbooleanNofalseReinstall content at its accepted resolution
--previewbooleanNofalseShow what would change without applying it
--ignore-release-agebooleanNofalseTake a release younger than the configured minimum release age, for this run only
--replace-unrecordedbooleanNofalseOverwrite files at planned paths that AXM has no record of writing (unrecorded output)
--discard-modifiedbooleanNofalseDelete projected files even when modified since AXM wrote them (modified output)

Update configured hook extensions

axm hooks update

Update one hook extension by name

axm hooks update workspace-baseline

Update hook extensions from one source

axm hooks update --source owner/repo

Preview forced reacquisition

axm hooks update --reinstall --preview