vix info
vix info shows Vix environment information, package details, paths, caches, and local state.
Use it when you want to inspect where Vix stores data, verify what exists locally, or understand the current Vix setup before debugging or cleaning anything.
vix infoOverview
vix info is a read-only inspection command.
It does not modify your project. It does not sync the registry. It does not install dependencies. It does not clean caches. It only prints information about the current Vix environment or a specific package.
vix info can show:
Vix CLI version
home directory
Vix root path
registry index path and state
package store path and state
global package manifest path and state
build artifact cache path and state
store package count
store commit count
global package count
store disk usage
artifact cache disk usage
project package details
global package details2
3
4
5
6
7
8
9
10
11
12
13
14
Usage
vix info
vix info [@]namespace/name
vix info -g [@]namespace/name
vix info --global [@]namespace/name2
3
4
Basic examples
# Show local Vix environment
vix info
# Show a project dependency from vix.lock
vix info softadastra/json
# Scoped-style syntax
vix info @softadastra/json
# Show a globally installed package
vix info -g softadastra/json
# Same as -g
vix info --global softadastra/json2
3
4
5
6
7
8
9
10
11
12
13
14
Modes
| Mode | Command | Reads from | Purpose |
|---|---|---|---|
| Environment mode | vix info | local Vix paths | Show environment, paths, caches, and state. |
| Project package mode | vix info <pkg> | ./vix.lock | Show one project dependency. |
| Global package mode | vix info -g <pkg> | ~/.vix/global/installed.json | Show one globally installed package. |
Environment mode
Run:
vix infoExample output shape:
Info
version: 2.6.0
home: /home/user
root: /home/user/.vix
root state: present
Environment
vix root: /home/user/.vix [present]
registry: /home/user/.vix/registry/index [present]
store: /home/user/.vix/store/git [present]
global root: /home/user/.vix/global [present]
global manifest: /home/user/.vix/global/installed.json [present]
Caches
artifact cache: /home/user/.vix/cache/build [present]
store packages: 12
store commits: 28
global packages: 3
store size: 240.52 MB
artifact size: 18.33 MB
Status
registry index: present (directory)
store cache: present (directory)
global root: present (directory)
global manifest: present (file)
artifact cache: present (directory)
globals usable: yes
registry usable: yes
store usable: yes
artifacts usable: yes
✔ Vix environment detected2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Environment paths
vix info prints the main Vix paths.
| Path | Purpose |
|---|---|
~/.vix | Vix root directory. |
~/.vix/registry/index | Local registry metadata index. |
~/.vix/store/git | Shared Git checkout store for registry packages. |
~/.vix/global | Global package area. |
~/.vix/global/installed.json | Global package manifest. |
~/.vix/cache/build | Build artifact cache root. |
Vix root
The Vix root is:
~/.vixOn Unix-like systems, it is based on:
HOMEOn Windows, it is based on:
USERPROFILEIf the home directory cannot be detected, Vix falls back to:
.vixrelative to the current directory.
Registry state
The registry path is:
~/.vix/registry/indexvix info shows whether it is present or missing.
If the registry is missing, run:
vix registry syncThe registry is used by commands like:
vix search
vix add
vix update
vix outdated
vix publish
vix unpublish2
3
4
5
6
Store state
The package store path is:
~/.vix/store/gitThis is where Vix keeps fetched package Git checkouts.
vix info counts:
store packages
store commits
store size2
3
A package like:
softadastra/corecan be stored as:
~/.vix/store/git/softadastra.core/<commit>Global package state
Global package data lives under:
~/.vix/globalThe global package manifest is:
~/.vix/global/installed.jsonvix info counts packages from this manifest.
If no manifest exists, the global package count is:
0Use:
vix list -gto list global packages.
Artifact cache state
The build artifact cache path is:
~/.vix/cache/buildvix info shows:
artifact cache path
artifact cache state
artifact size
artifacts usable2
3
4
This is useful when debugging cache behavior or disk usage.
Disk usage
vix info computes disk usage for:
~/.vix/store/git
~/.vix/cache/build2
It prints human-readable sizes such as:
240.52 MB
18.33 MB2
If a path is missing, its size is shown as:
0 BStatus section
The status section shows whether each path is present and what type it is.
Example:
registry index: present (directory)
global manifest: present (file)
artifact cache: missing (path)2
3
Possible type labels include:
directory
file
path2
3
Usable flags
vix info prints simple yes/no state:
globals usable
registry usable
store usable
artifacts usable2
3
4
These are based on path existence.
Example:
registry usable: yes
store usable: no2
If registry usable is no, run:
vix registry syncIf store usable is no, package commands may create it when needed.
Project package info
Use:
vix info softadastra/jsonThis reads package details from the current project lockfile:
./vix.lockExample output shape:
Project package
id: softadastra/json
version: 1.0.0
commit: 8f3a9c4...
repo: https://github.com/softadastra/json
type: header-only
include: include
✔ Package info loaded2
3
4
5
6
7
8
9
Project package requirement
Project package info requires:
vix.lockin the current directory.
If it is missing, Vix reports:
project lock file not foundRun from the project directory:
cd /path/to/project
vix info softadastra/json2
If the project has dependencies but no lockfile, resolve them:
vix registry sync
vix add softadastra/json
vix install2
3
Supported project lockfile shapes
vix info <package> can read package arrays from these shapes.
Array shape:
[
{
"id": "softadastra/json",
"version": "1.0.0",
"commit": "8f3a9c4..."
}
]2
3
4
5
6
7
Object shape with dependencies:
{
"dependencies": [
{
"id": "softadastra/json",
"version": "1.0.0",
"repo": "https://github.com/softadastra/json",
"tag": "v1.0.0",
"commit": "8f3a9c4..."
}
]
}2
3
4
5
6
7
8
9
10
11
Object shape with packages is also accepted by the shared package reader.
Global package info
Use:
vix info -g softadastra/jsonor:
vix info --global softadastra/jsonThis reads package details from:
~/.vix/global/installed.jsonExample output shape:
Global package
id: softadastra/json
version: 1.0.0
commit: 8f3a9c4...
repo: https://github.com/softadastra/json
type: header-only
include: include
path: /home/user/.vix/global/packages/softadastra.json/8f3a9c4...
✔ Package info loaded2
3
4
5
6
7
8
9
10
Package fields
For package info, Vix can print:
| Field | Meaning |
|---|---|
id | Package id, for example softadastra/json. |
version | Package version. |
commit | Resolved Git commit. |
repo | Source repository. |
type | Package type when available. |
include | Include directory when available. |
path | Installed path when available. |
The path field usually appears for global packages because global installs store an installed_path.
Version fallback
If a package does not have a version field but has a tag, Vix derives the version from the tag.
Example:
{
"tag": "v1.2.0"
}2
3
is displayed as:
1.2.0Repository field
The repository can be stored as a string:
{
"repo": "https://github.com/softadastra/json"
}2
3
or as an object:
{
"repo": {
"url": "https://github.com/softadastra/json"
}
}2
3
4
5
vix info supports both.
Scoped-style package ids
The help allows scoped-style input:
vix info @softadastra/json
vix info -g @softadastra/json2
The stored package id is still normally:
softadastra/jsonUse the package id exactly as it appears in vix.lock or vix list if lookup fails.
Read-only behavior
vix info is safe to run.
It does not:
edit vix.json
edit vix.lock
create .vix/deps
sync the registry
install packages
delete cache files2
3
4
5
6
Use it before cleanup commands when you want to understand the current state.
Difference between vix info and vix doctor
| Command | Purpose |
|---|---|
vix info | Show paths, caches, counts, and package details. |
vix doctor | Check environment health and diagnose setup problems. |
Use vix info to inspect.
Use vix doctor to diagnose.
Difference between vix info and vix list
| Command | Purpose |
|---|---|
vix info | Show environment details or one package detail. |
vix list | List all project or global packages. |
Use vix list when you want the full dependency list.
Use vix info <pkg> when you want details for one package.
Difference between vix info and vix registry path
| Command | Purpose |
|---|---|
vix info | Show all main Vix paths and states. |
vix registry path | Show only the registry path. |
Use vix info for a broad overview.
Use vix registry path for the registry location only.
Difference between vix info and vix store path
| Command | Purpose |
|---|---|
vix info | Show store path, state, size, and counts. |
vix store path | Show only the store path. |
Use vix info when you need store size and state.
Use vix store path when you only need the path.
Debugging workflows
Inspect environment
vix infoRegistry problem
vix info
vix registry sync
vix search json2
3
Dependency install problem
vix info
vix list
vix install
vix check --tests2
3
4
Global package problem
vix info
vix list -g
vix info -g softadastra/json2
3
Disk usage problem
vix info
vix store path
vix store gc --project --dry-run2
3
Cache behavior problem
vix info
vix build --build-target all
vix info2
3
Common workflows
Show local environment
vix infoShow a project package
vix list
vix info softadastra/json2
Show a global package
vix list -g
vix info -g softadastra/json2
Inspect before cleanup
vix info
vix store gc --project --dry-run2
Inspect after registry sync
vix registry sync
vix info2
Inspect after global install
vix install -g softadastra/json
vix info
vix list -g2
3
Options
| Option | Description |
|---|---|
-g | Read package info from the global package manifest. |
--global | Same as -g. |
-h, --help | Show command help. |
Commands reference
| Command | Description |
|---|---|
vix info | Show Vix environment, paths, caches, counts, and status. |
vix info softadastra/json | Show a project package from ./vix.lock. |
vix info -g softadastra/json | Show a globally installed package. |
vix info --global softadastra/json | Same as vix info -g softadastra/json. |
Common mistakes
Expecting info to fix problems
vix info only prints information.
For environment diagnostics, use:
vix doctorFor project cleanup, use:
vix cleanFor dependency reinstall, use:
vix resetExpecting info to sync the registry
vix info does not update registry metadata.
Use:
vix registry syncExpecting info to install dependencies
vix info does not install packages.
Use:
vix installExpecting info to remove cache data
vix info does not clean the store or artifact cache.
Preview store cleanup with:
vix store gc --project --dry-runRunning package info outside a project
Wrong:
cd /tmp
vix info softadastra/json2
Correct:
cd /path/to/project
vix info softadastra/json2
Project package info reads:
./vix.lockForgetting -g for global package info
Wrong:
vix info softadastra/jsonwhen the package is installed globally but not in the current project.
Correct:
vix info -g softadastra/jsonExpecting vix info to list all packages
Use:
vix listor:
vix list -gto list packages.
Use vix info <pkg> for one package.
Troubleshooting
Project lock file not found
Run from the project directory:
cd /path/to/project
vix info softadastra/json2
If the project needs dependencies, create the lockfile:
vix add softadastra/json
vix install2
Global package manifest not found
If you run:
vix info -g softadastra/jsonand Vix reports that the global package manifest is not found, no global packages are installed yet.
Install one:
vix registry sync
vix install -g softadastra/json2
Invalid project lock file
If the lockfile is malformed, Vix reports:
invalid project lock fileCheck:
cat vix.lockThen regenerate or restore it.
Invalid global manifest
If the global manifest is malformed, Vix reports:
invalid global manifestCheck:
~/.vix/global/installed.jsonThen reinstall or intentionally clean the global package state.
Package not found
If Vix reports:
package not found: softadastra/jsoncheck the package id:
vix listor for global packages:
vix list -gThen run vix info with the exact id shown.
Vix root is missing
If Vix prints:
Vix root is missing. Some commands may create it on demand.that means:
~/.vixdoes not exist yet.
Commands like registry sync or install can create it when needed:
vix registry syncBest practices
Run vix info before deleting cache or store data.
Use vix info when debugging path problems.
Use vix info <pkg> after vix list when you need one package detail.
Use vix info -g <pkg> after vix list -g for global package details.
Use vix doctor after vix info when the environment looks wrong.
Use vix registry sync when registry state is missing or stale.
Use vix install when project dependencies are missing.
Use vix store gc --project --dry-run before store cleanup.
Related commands
| Command | Purpose |
|---|---|
vix doctor | Check environment health. |
vix registry path | Print registry index path. |
vix registry sync | Refresh registry index. |
vix store path | Print local store path. |
vix store gc --project | Clean unused store data for current project scope. |
vix list | List project dependencies. |
vix list -g | List global packages. |
vix clean | Clean project-local generated state. |
vix reset | Clean and reinstall project dependencies. |
vix install | Install locked project dependencies. |
vix install -g | Install a global package. |
Next step
Diagnose the environment.