Installation

Install Script

The recommended way to install Oxidoc is the install script, which detects your platform and downloads the correct binary.

curl -fsSL https://oxidoc.dev/install.sh | sh

The script detects your platform, downloads the correct binary, and adds it to your PATH.

Custom Install Directory

Set OXIDOC_INSTALL_DIR to change the install location:

OXIDOC_INSTALL_DIR=/usr/local/bin \
  curl -fsSL https://oxidoc.dev/install.sh | sh

GitHub Releases

Download a pre-built binary directly from GitHub Releases.

PlatformArchitectureBinary
Linuxx86_64oxidoc-x86_64-unknown-linux-gnu
Linuxaarch64oxidoc-aarch64-unknown-linux-gnu
macOSx86_64oxidoc-x86_64-apple-darwin
macOSApple Siliconoxidoc-aarch64-apple-darwin
Windowsx86_64oxidoc-x86_64-pc-windows-msvc.exe

Verify Installation

oxidoc --version

Update

Update to the latest stable release:

oxidoc update

Install the latest prerelease:

oxidoc update --pre

Switch Versions

Pin a specific version:

oxidoc set-version v0.1.0

This downloads and installs that exact version, useful for locking CI to a known-good release.

Uninstall

Remove the binary and its directory:

rm -rf ~/.oxidoc

Remove the PATH entry from your shell config (~/.bashrc, ~/.zshrc, etc.) if it was added.

View page sourceLast updated on Mar 17, 2026 by Farhan Syah