Skip to content

Instantly share code, notes, and snippets.

View serinko's full-sized avatar

> import this serinko

View GitHub Profile
@serinko
serinko / execute-nym-vpn-cli-binary.sh
Last active March 8, 2024 21:33
Donwload, verify and run NymVPN CLI alpha binary
#!/bin/bash
# this is a copy of a script by @tommy1987 with a few edited vars to work on Linux distros
# link to the original script https://gist.github.com/tommyv1987/87267ded27e1eb7651aa9cc745ddf4af
echo "welcome to the nym-cli installation"
echo
release_url="https://api.github.com/repos/nymtech/nym-vpn-client/releases"
current_file_version=$(curl -s $release_url | jq -r '.[].tag_name' | grep '^nym-vpn-cli-v' | sort -Vr | head -n 1 | awk -F'-v' '{print $NF}')
linux_cli="nym-vpn-cli_${current_file_version}_ubuntu-22.04_x86_64.tar.gz"
@serinko
serinko / nym-vpn-desktop-install-run.sh
Last active February 20, 2024 09:53
Donwload, verify and run NymVPN desktop alpha binary
#!/bin/bash
# this is an edited version of a script called nym-vpn-install-run.sh by @tommy1987
# link to the original script https://gist.github.com/tommyv1987/7d210d4daa8f7abc61f9a696d0321f19
echo "welcome to the NYM client installation"
echo "disclaimer: macOS arch version is only available post 0.0.4"
version="0.0.4"
mac_file="nym-vpn-desktop_${version}_macos_x86_64"