Skip to main content

loa update

loa update​

Re-resolve native assets within their selectors, or rewrite pins with --latest

Re-resolves native bindings within their declared selectors. An exact @2.3.0 pin stays exact; @2, @2.3, and @latest can select newer matching versions. Omit the alias to update all native bindings across the workspace. Unrelated locked bindings remain unchanged.

--latest selects the highest numeric version and rewrites the manifest value as a full org/project/asset@version exact pin. Both short aliases and canonical-name keys keep this same value format.

Updates declarations and locks without downloading asset files. Direct URLs and live files are not version-updated. Use loa pull --refresh to refresh URL bytes, and loa pull to materialize newly selected native versions.

The CLI writes sorted bindings with one entry per line and a trailing newline. Resolve manifest conflicts in Git and regenerate the lockfile with loa pull; do not hand-edit generated hashes.

Usage​

loa update [<alias>] [--latest]
ArgumentTypeRequiredDescription
aliasstringNoAlias to update (all native assets when omitted)
FlagTypeRequiredDescription
--latestbooleanNoSelect the latest version and replace the manifest pin; Default: false

Examples​

Update within the declared selector​

loa update chair

Replace a pin with the latest version​

loa update chair --latest

Update all native bindings​

loa update