xenvsync

Installation

Multiple ways to install xenvsync on any platform.

Homebrew (macOS / Linux)

Install via Homebrewbash
$ brew install nasimstg/tap/xenvsync

Scoop (Windows)

Install via Scoopbash
$ scoop bucket add nasimstg https://github.com/nasimstg/scoop-bucket
$ scoop install xenvsync

npm (Quickest)

Install globallybash
$ npm install -g @nasimstg/xenvsync

Or run without installing: npx @nasimstg/xenvsync

The npm package automatically downloads the correct binary for your platform.

Go Install

Requires Go 1.25+.

Installbash
$ go install github.com/nasimstg/xenvsync@latest

This places the binary in $GOPATH/bin. Make sure it's in your PATH.

Binary Releases

Prebuilt binaries are available from the release channels listed in Changelog.

Linux / macOS

Download & installbash
# Replace VERSION and PLATFORM (e.g., linux_amd64, darwin_arm64)
$ curl -LO https://github.com/nasimstg/xenvsync/releases/latest/download/xenvsync_VERSION_PLATFORM.tar.gz
$ tar xzf xenvsync_VERSION_PLATFORM.tar.gz
$ sudo mv xenvsync /usr/local/bin/

Linux (.deb / .rpm)

Package managerbash
# Debian / Ubuntu
$ sudo dpkg -i xenvsync_VERSION_linux_amd64.deb

# RHEL / Fedora
$ sudo rpm -i xenvsync_VERSION_linux_amd64.rpm

Windows

Download the .zip from the releases page, extract it, and add the directory to your PATH.

Build from Source

Clone and buildbash
$ git clone https://github.com/nasimstg/xenvsync.git
$ cd xenvsync
$ make build

make build injects version, commit, and build date via ldflags. Use make install for direct install to $GOPATH/bin.

Nix Flake

Run with Nixbash
# Run without installing
$ nix run github:nasimstg/xenvsync

# Add to your flake inputs
$ nix profile install github:nasimstg/xenvsync

Arch Linux (AUR)

Install from AURbash
$ git clone https://aur.archlinux.org/xenvsync.git
$ cd xenvsync
$ makepkg -si

Verify

Check versionbash
$ xenvsync version
xenvsync v0.1.0
  commit: abc1234
  built:  2026-03-21T00:00:00Z

Supported Platforms

OSArchitectureFormats
Linuxamd64, arm64.tar.gz, .deb, .rpm, .apk
macOSamd64, arm64.tar.gz
Windowsamd64, arm64.zip

Upgrading

Replace the binary with a newer version. Config files are forward-compatible.

$ brew upgrade xenvsync
$ scoop update xenvsync
$ npm update -g @nasimstg/xenvsync
$ go install github.com/nasimstg/xenvsync@latest