Skip to main content

tuna-cli

Installation​

Installation using winget​

Open PowerShell and run the command:

winget install --id yuccastream.tuna ; powershell

Installing the MSI package​

Download the latest version of tuna using this link and run the installation by double-clicking the file.

Installer for Windows x64 (requires administrator privileges)
🖌 Authenticity verification

Starting from version 0.27.4, all artifacts are signed using cosign. To verify the originality of the archive, install the cosign client, download the public key, and perform the verification.

winget install GnuPG.Gpg4win
Invoke-WebRequest -Uri "https://releases.tuna.am/tuna/latest/tuna_x64.msi" -OutFile "tuna_x64.msi"
Invoke-WebRequest -Uri "https://releases.tuna.am/tuna/latest/tuna_x64.msi.sig" -OutFile "tuna_x64.msi.sig"
Invoke-WebRequest -Uri "https://releases.tuna.am/tuna.asc" -OutFile "tuna.asc"
gpg --import tuna.asc
gpg --verify tuna_x64.msi.sig tuna_x64.msi

Manual installation​

Open PowerShell and run the commands one by one:

winget install GnuPG.Gpg4win
cd $env:TEMP
Invoke-WebRequest -Uri "https://releases.tuna.am/tuna/latest/tuna_windows_amd64.zip" -OutFile "$env:TEMP\tuna_windows_amd64.zip"
Invoke-WebRequest -Uri "https://releases.tuna.am/tuna/latest/tuna_windows_amd64.zip.sig" -OutFile "$env:TEMP\tuna_windows_amd64.zip.sig"
Invoke-WebRequest -Uri "https://releases.tuna.am/tuna.asc" -OutFile "$env:TEMP\tuna.asc"
gpg --import tuna.asc
gpg --verify tuna_windows_amd64.zip.sig tuna_windows_amd64.zip
Expand-Archive -Path "$env:TEMP\tuna_windows_amd64.zip" -DestinationPath "$env:TEMP\tuna" -Force
Copy-Item -Path "$env:TEMP\tuna\tuna.exe" -Destination "$env:USERPROFILE\AppData\Local\Microsoft\WindowsApps" -Force

Verify the installation​

To make sure the installation was successful, run the command:

tuna help

Authorization​

To use the client, you need a Token. Register via this link and authorize the application. The token will be saved in the config file, or you can copy it from a separate page and specify it manually.

tuna login
Specify the token manually
tuna config save-token <TOKEN>

Get started​

Everything is ready to start working. Run tuna with a port and share the link with your colleagues:

tuna http 8080
Permanent address

Each time you start a tunnel it gets a new address. To keep the address, use your free permanent subdomain: tuna http 8080 --subdomain=<your-subdomain>. The subdomain is bound to your account and only works with your token from the Authorization step.

What's next?​

  • Explore HTTP tunnel configuration examples
  • Need access to a non-HTTP service? Learn more in the TCP tunnel section