Skip to main content

Installing Gate

The installation of Gate is ultra easy, NO Java needed! You just download Gate that is one executable binary file, and you're ready to run the proxy! The configuration file config.yml is optional, see Configuration for more.

Latest release tag on GitHub:

undefined

Method 1 - Download the pre-built binary

You can download the latest pre-built binary for your operating system from the release page.

View Releases

Available downloads by operating systems
OSBinary Name with Processor
Windowswindows_arm64, windows_amd64 or windows_386
MacOSdarwin_amd64 or darwin_arm64
Linuxlinux_arm64, linux_amd64 or linux_386
DOWNLOAD='https://github.com/minekube/gate/releases/download/undefined/gate_undefined_linux_amd64'
curl -Lo ./gate $DOWNLOAD
chmod +x ./gate
mv ./gate ~/.local/bin/gate
Note: If you do not have root access on the target system, you can still install gate to the ~/.local/bin directory:
chmod +x gate
mkdir -p ~/.local/bin
mv ./gate ~/.local/bin/gate
# and then append (or prepend) ~/.local/bin to $PATH

You can now open your terminal show Gate help by running:

$ gate -h

Method 2 - Install using Go

Since Gate is a Go module you can easily install the latest release. To run the following command ensure you have Go, and Git installed.

$ go install go.minekube.com/gate@latest

After this step you can run Gate easily from anywhere in your terminal:

$ gate -h

Method 3 - Run Gate directly from the Internet

Using Go you could even run Gate without the installation command. Internally Go downloads and caches the module, builds and caches it and finally runs it, all at once.

$ go run go.minekube.com/gate@latest

Thanks to local caching running this command a second time would start Gate even quicker.