Getting Started
Via a Package Manager
Section titled “Via a Package Manager”Homebrew
Section titled “Homebrew”Jvln can be installed via Homebrew from jvln-sh/tap.
First, add and trust the tap.
brew tap jvln-sh/tapbrew trust jvln-sh/tapYou can then install the Jvln CLI.
brew install jvln-sh/tap/jvlnHomebrew
Section titled “Homebrew”Jvln can be installed via Homebrew from jvln-sh/tap.
First, add and trust the tap.
brew tap jvln-sh/tapbrew trust jvln-sh/tapThis will allow you to install the Jvln CLI.
brew install jvln-sh/tap/jvlnUsing the Installer Script
Section titled “Using the Installer Script”Open a terminal and run the following command to install the CLI.
curl -fsSL https://codeberg.org/drmathias/jvln/raw/branch/main/scripts/install-cli.sh | shThis 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):
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.
Options
Section titled “Options”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 |
Open a terminal and run the following command to install the CLI.
curl -fsSL https://codeberg.org/drmathias/jvln/raw/branch/main/scripts/install-cli.sh | shThis 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. ~/.zshrc):
export PATH="$HOME/.local/bin:$PATH"After editing your profile, restart your terminal or run source ~/.zshrc (or the equivalent for your shell) to apply the change.
Confirm that the installation is successful by running jvln --version.
Options
Section titled “Options”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 |
Build From Source
Section titled “Build From Source”Prerequisites
Section titled “Prerequisites”The following dependencies must be installed on your machine.
- .NET SDK (see
global.jsonfor the specific version) - libmsquic
- git
Instructions
Section titled “Instructions”First, navigate to your preferred directory and clone the source code using git.
git clone https://codeberg.org/drmathias/jvln.gitTo build, navigate to the correct project and publish the binary.
cd jvln/src/Jvln.Clidotnet publish -r $([ "$(uname -m)" = "arm64" ] && echo "linux-arm64" || echo "linux-x64") -o ./distNext, copy the published files to a location of your choice, then symlink the binary to a location that is on your PATH.
mkdir -p ~/.local/libmv ./dist ~/.local/lib/jvlnln -s ~/.local/lib/jvln/jvln ~/.local/bin/jvlnConfirm that the installation is successful by running jvln --version.
Prerequisites
Section titled “Prerequisites”The following dependencies must be installed on your machine.
- .NET SDK (see
global.jsonfor the specific version) - libmsquic
- git
Jvln manages client certificates using Keychain, which limits access based on the application signing identity. For this reason, it is strongly advised that the binary is signed with a stable signing identity before execution.
The easiest way to create a stable signing identity, is by creating a self-signed signing certificate. This can be done in Keychain via Certificate Assistant. The certificate must be configured to be trusted for code signing in the keychain.
Instructions
Section titled “Instructions”First, navigate to your preferred directory and clone the source code using git.
git clone https://codeberg.org/drmathias/jvln.gitTo build, navigate to the correct project and publish the binary.
cd jvln/src/Jvln.Cliexport DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:$(brew --prefix)/libdotnet publish -r $([ "$(uname -m)" = "arm64" ] && echo "osx-arm64" || echo "osx-x64") -o ./distThen, sign the published binary using the signing certificate created as described in prerequisites:
codesign --force --timestamp=none -i sh.youridentity.jvln \ -s "Your Signing Certificate" ./dist/jvlnNext, copy the published files to a location of your choice and symlink the binary to a location that is on your PATH.
mkdir -p ~/.local/libmv ./dist ~/.local/lib/jvlnln -s ~/.local/lib/jvln/jvln ~/.local/bin/jvlnConfirm that the installation is successful by running jvln --version.
Prerequisites
Section titled “Prerequisites”The following dependencies must be installed on your machine.
- .NET SDK (see
global.jsonfor the specific version) - git
Instructions
Section titled “Instructions”First, navigate to your preferred directory and clone the source code using git.
git clone https://codeberg.org/drmathias/jvln.gitTo build, navigate to the correct project and publish the binary.
Set-Location jvln/src/Jvln.Cli$rid = if ([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture -eq 'Arm64') { "win-arm64"} else { "win-x64"}dotnet publish -r $rid -o ./distNext, copy the published files to a location of your choice, then add the folder to your PATH.
Move-Item .\dist "$env:LOCALAPPDATA\jvln"$currentPath = [Environment]::GetEnvironmentVariable("PATH", [EnvironmentVariableTarget]::User)[Environment]::SetEnvironmentVariable("PATH", "$currentPath;$env:LOCALAPPDATA\jvln", [EnvironmentVariableTarget]::User)Restart your terminal after updating PATH for your changes to take effect.
Confirm that the installation is successful by running jvln --version.