Skip to content

Getting Started

Open a terminal and run the following command to install the CLI.

Terminal window
curl -fsSL https://codeberg.org/drmathias/jvln/raw/branch/main/scripts/install-cli.sh | sh

This installs the jvln binary to $XDG_BIN_HOME (or $HOME/.local/bin if unset). The script will tell you if this directory isn’t on your PATH and, if so, which line to add to your shell profile (e.g. ~/.bashrc):

Terminal window
export PATH="$HOME/.local/bin:$PATH"

After editing your profile, restart your terminal or run source ~/.bashrc (or the equivalent for your shell) to apply the change.

Confirm that the installation is successful by running jvln --version.

The installer supports the following environment variables:

Variable Description Default
RELEASE Release tag to install latest
INSTALL_DIR Directory to install the binary into $XDG_BIN_HOME or $HOME/.local/bin

The following dependencies must be installed on your machine.

  • .NET SDK (see global.json for the specific version)
  • libmsquic
  • git

First, navigate to your preferred directory and clone the source code using git.

Terminal window
git clone https://codeberg.org/drmathias/jvln.git

To build, navigate to the correct project and publish the binary.

Terminal window
cd jvln/src/Jvln.Cli
dotnet publish -r $([ "$(uname -m)" = "arm64" ] && echo "linux-arm64" || echo "linux-x64") -o ./dist

Next, copy the published files to a location of your choice, then symlink the binary to a location that is on your PATH.

Terminal window
mkdir -p ~/.local/lib
mv ./dist ~/.local/lib/jvln
ln -s ~/.local/lib/jvln/jvln ~/.local/bin/jvln

Confirm that the installation is successful by running jvln --version.