Skip to content

vix outdated

vix outdated checks whether project dependencies are behind the latest versions available in the local registry index.

Use it when you want to inspect dependency updates without changing your project files.

Usage

bash
vix outdated
vix outdated [@]namespace/name
vix outdated [@]namespace/name [@]namespace/name
vix outdated [options]

What it does

vix outdated compares locked project dependencies (vix.lock) with the latest versions known by the local registry index. It does not update anything — it only reports what is outdated or missing.

Basic usage

bash
vix outdated              # all dependencies
vix outdated gk/jwt       # one dependency
vix outdated @gk/jwt      # scoped dependency
vix outdated gk/jwt gk/pdf  # several dependencies

JSON output

bash
vix outdated --json

Strict mode

bash
vix outdated --strict

Exit code 0 = no outdated dependencies. Exit code 1 = at least one is outdated or missing.

Registry sync

bash
vix registry sync
vix outdated

Difference between vix outdated and vix update

CommandPurpose
vix outdatedShow what is behind
vix updateResolve newer versions and rewrite vix.lock

Options

OptionDescription
--jsonPrint machine-readable JSON output.
--strictReturn exit code 1 if any package is outdated or missing.
-h, --helpShow command help.

Common workflows

bash
vix outdated                  # check all dependencies
vix registry sync             # refresh registry
vix outdated                  # check after sync
vix outdated gk/jwt           # check one dependency
vix outdated --json           # machine-readable output
vix outdated --strict         # CI strict check
vix outdated                  # check then update
vix update --install

CI usage

bash
# Maintenance workflow
vix registry sync
vix outdated --json

# Fail on stale dependencies
vix outdated --strict

Common mistakes

Expecting vix outdated to update packages

bash
# Only checks
vix outdated

# To update
vix update --install

Forgetting to sync the registry

bash
vix registry sync
vix outdated
CommandPurpose
vix updateUpdate dependency versions
vix installInstall exact locked dependencies
vix addAdd a new dependency
vix removeRemove a dependency
vix listList dependencies
vix registry syncRefresh registry index

Next step

Continue with dependency removal.

Open the vix remove guide

Released under the MIT License.