installation

trovl can be installed in multiple ways: using install scripts (recommended), Go toolchain, eget, or manually with pre-built binaries.

Tip: The install scripts handle OS and architecture detection automatically, so you don’t have to worry about downloading the wrong binary.


Compatibility

trovl currently supports the following operating systems and architectures:

OS Architectures Notes
Linux amd64, arm64 Adjust download/extract paths if needed
macOS amd64 (Intel), arm64 (Apple Silicon) Pick the correct binary for your architecture
Windows amd64, arm64 PowerShell and CMD instructions provided separately

⚠️ Make sure to adjust URLs if you are not using the automated install scripts.


1. Using Install Scripts (All Platforms)

This is the easiest method as it automatically detects your OS and architecture.

Linux/macOS

1
curl -fsSL https://raw.githubusercontent.com/sneha-afk/trovl/main/install.sh | sh

Custom installation directory:

1
curl -fsSL https://raw.githubusercontent.com/sneha-afk/trovl/main/install.sh | INSTALL_DIR=/usr/local/bin sh

Windows (PowerShell)

1
irm https://raw.githubusercontent.com/sneha-afk/trovl/main/install.ps1 | iex

Custom installation directory:

1
.\install.ps1 -InstallDir "C:\bin"

Verify installation:

1
trovl --version

2. Using Go Toolchain

Requirements: Go 1.21+

1
go install github.com/sneha-afk/trovl@latest

Verify installation:

1
trovl --version

3. Using eget (all platforms)

1
eget sneha-afk/trovl

Verify installation:

1
trovl --version

Install eget if needed.


Manual Installation (Pre-built Binaries)

Pre-built binaries are available for Linux, macOS, and Windows.

Download from: GitHub Releases

Recommended installation location: to simplify your ACLs

OS Default Location
Linux/macOS ~/.local/bin
Windows %USERPROFILE%\.local\bin

Make sure the directory is in your PATH.

1
2
# Linux/macOS
export PATH="$HOME/.local/bin:$PATH"
1
2
# Windows PowerShell
setx PATH "$env:PATH;$env:USERPROFILE\.local\bin"

Linux

1
2
3
4
5
6
7
curl -LO https://github.com/sneha-afk/trovl/releases/latest/download/trovl_linux_amd64.tar.gz
tar -xzf trovl_linux_amd64.tar.gz

mkdir -p "$HOME/.local/bin"
mv trovl "$HOME/.local/bin/"

trovl --version

macOS

For Apple Silicon (arm64):

1
2
3
4
5
6
7
curl -LO https://github.com/sneha-afk/trovl/releases/latest/download/trovl_macos_arm64.tar.gz
tar -xzf trovl_macos_arm64.tar.gz

mkdir -p "$HOME/.local/bin"
mv trovl "$HOME/.local/bin/"

trovl --version

For Intel (amd64), replace arm64 with amd64.

Windows

PowerShell

1
2
3
4
5
6
7
8
9
curl -LO https://github.com/sneha-afk/trovl/releases/latest/download/trovl_windows_amd64.zip
Expand-Archive trovl_windows_amd64.zip -DestinationPath .

mkdir "$env:USERPROFILE\.local\bin" -Force
move trovl.exe "$env:USERPROFILE\.local\bin\"

setx PATH "$env:PATH;$env:USERPROFILE\.local\bin"

trovl --version

Command Prompt

curl -LO https://github.com/sneha-afk/trovl/releases/latest/download/trovl_windows_amd64.zip
tar -xf trovl_windows_amd64.zip

mkdir "%USERPROFILE%\.local\bin"
move trovl.exe "%USERPROFILE%\.local\bin\"

setx PATH "%PATH%;%USERPROFILE%\.local\bin"

trovl --version

Verifying Checksums (Optional)

Ensures downloads haven’t been corrupted or tampered with.

1
curl -LO https://github.com/sneha-afk/trovl/releases/latest/download/checksums.txt

Linux/macOS

1
2
sha256sum trovl_linux_amd64.tar.gz
sha256sum -c checksums.txt

Windows

PowerShell

1
(Get-FileHash trovl_windows_amd64.zip -Algorithm SHA256).Hash -eq (Select-String trovl_windows_amd64.zip checksums.txt).Line.Split()[0]

Command Prompt

certutil -hashfile trovl_windows_amd64.zip SHA256

Compare output with checksums.txt.


Updating

Repeat the installation steps or use the same tool:

1
2
3
4
5
# Go
go install github.com/sneha-afk/trovl@latest

# eget
eget sneha-afk/trovl

Check your version:

1
trovl --version

Uninstalling

Linux/macOS

1
rm ~/.local/bin/trovl

Windows

PowerShell

1
del "$env:USERPROFILE\.local\bin\trovl.exe"

Command Prompt

del "%USERPROFILE%\.local\bin\trovl.exe"

Need Help?

If you encounter issues, open an issue: github.com/sneha-afk/trovl/issues