If you don't feel the need to understand what's going on, you can just use this script:
wget -q https://github.com/Arapak/sio-tool/releases/latest/download/st_linux_x64.zip && \
unzip st_linux_x64.zip && \
sudo mv st /usr/bin && \
rm st_linux_x64.zipDownload the latest binary for linux here or just run the command:
wget https://github.com/Arapak/sio-tool/releases/latest/download/st_linux_x64.zipYou can use your default file manager, right-click on the file, and then click extract, or just use this command in your terminal:
unzip /path/to/file/st_linux_x64.zipIn your current location in the terminal, you should have an st file; to check this, you can run the ls command.
If you get the error "unzip command not found", on debian-based distros (Ubuntu, Linux Mint, etc.), you can download it using
sudo apt install unzipFor the program to work in your terminal, you have to add it to the path. The easiest way to do it in linux is to move it to /usr/bin with this command:
sudo mv /path/to/file/st /usr/binPrerequisite (go >= 1.18):
git clone https://github.com/Arapak/sio-tool.git
cd sio-tool
go build -ldflags "-s -w" st.go