How to Run Gotty on My Server?
GoTTY is a simple command line tool that turns your CLI tools into web applications. This guide will show you how to install and run GoTTY on your server.
Installation and Setup
First, copy and run this command:
# Get the latest release.
curl -Lo gotty.tar.gz "https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_amd64.tar.gz"
# Extract the files.
tar -xvf gotty.tar.gz
# Run.
./gotty -w -c "user:password" -p "INSERT_PORT_HERE" bash
Configuration Steps
- Go to your server, then paste the script and remove
`if it is there. - Add your user and password but don't remove
:, as this is needed. - Add your port number which can be found on the main page of your server.
- Run it and enjoy!
Example
./gotty -w -c "myuser:mypassword" -p "8080" bash
This will start GoTTY on port 8080 with the username myuser and password mypassword.
References
Last Updated:
December 24, 2025.