Installing YAMLStar¶
YAMLStar ships two native release artifacts:
- The
yamlcommand-line loader. - The
libyamlstarshared library used by language bindings.
Quick Install¶
Install both the CLI and shared library:
Install only the CLI:
Install only the shared library:
Install to a custom prefix:
PREFIX defaults to $HOME/.local for non-root users and /usr/local for
root. Add PREFIX/bin to your PATH to run yaml from any directory.
For custom shared-library prefixes, your runtime loader may also need
PREFIX/lib in LD_LIBRARY_PATH on Linux or DYLD_LIBRARY_PATH on macOS.
Homebrew¶
YAMLStar can also be installed with Homebrew on Linux x64 and macOS ARM64:
brew trust yaml/yamlstar
brew tap yaml/yamlstar
brew install yaml/yamlstar/yamlstar
brew install yaml/yamlstar/libyamlstar
To install a specific version:
Release Archives¶
Release archives are attached to GitHub Releases:
yamlstar-VERSION-linux-x64.tar.xzyamlstar-VERSION-macos-arm64.tar.xzlibyamlstar-VERSION-linux-x64.tar.xzlibyamlstar-VERSION-macos-arm64.tar.xz
Each archive contains a Makefile, so manual installation is: