Skip to content

Installing on MVX

Gordon Heydon edited this page Aug 24, 2026 · 1 revision

Installing on MVX

On MVX, mv_git is a package of the MVX system itself: the GIT verb plus mvx-git, the shell CLI.

From a release

Take the mvx tarball from the latest release — it holds the compiled verbs, the libgit2 extension library and the mvx-git CLI, built against a published MVX toolchain and locked to os/arch/endianness.

From source, as an MVX submodule

MVX consumes mv_git as a submodule at packages/git, and the build is driven by MVX's mkpkg.sh, which runs build-native.sh after cleaning LIB/.

Standalone against a built MVX source tree:

$ MVX_ROOT=/path/to/mvx-lang ./build-native.sh

build-native.sh needs the MVX runtime headers ($MVX_ROOT/runtime/include), libmvxrt ($MVX_ROOT/build/lib), and libgit2.

Runtime symbols (mv_*, mvx_*) resolve from the host program at load, exactly as the storage drivers do; libgit2 links into this one library.

Using it

Both surfaces work the same as elsewhere:

$ mvx-git init
$ mvx-git add -A
$ mvx-git commit -m "first"
:GIT STATUS

Plain-git checkouts

Because .git is an ordinary repository, any git client can clone the history — but a plain checkout gives you files, not a live account. mvx-git-adopt turns such a checkout into a live account.

See also

Clone this wiki locally