Step-by-Step Guide to Installing OpenGist on Ubuntu 25.10

OpenGist is a lightweight self-hosted pastebin and gist alternative. It allows you to manage, share, and organize code snippets easily via a browser-based interface or API. It’s perfect for developers who prefer to host their own snippet-sharing service.

Update System Packages

Before starting, update your Ubuntu 25.10 system to ensure all packages are up to date:

apt update && apt upgrade -y

Download the Latest OpenGist Release

Use wget to download the latest version (as of now v1.9.0) of OpenGist:

wget https://github.com/thomiceli/opengist/releases/download/v1.9.0/opengist1.9.0-linux-amd64.tar.gz

Extract the Archive

Extract the downloaded tarball using the command below:

tar -xzvf opengist1.9.0-linux-amd64.tar.gz

This will extract the OpenGist binary to the current directory.

Move Binary to /usr/local/bin

Move the binary to a global path for easier access:

mv opengist/opengist /usr/local/bin/

Make It Executable

Ensure the binary is executable:

chmod +x /usr/local/bin/opengist

Run OpenGist

Now you can start OpenGist using:

opengist

By default, OpenGist will start on port 6157.

Access the Web Interface

Open your browser and navigate to:

http://your_server_ip:6157

Replace your_server_ip with your actual server IP address.

Once accessed, you’ll see the OpenGist web interface.

Register a New User

Click on Register to create a new user account. Enter your preferred username, email address, and password.

image

Log In to OpenGist

After registering, log in using your new credentials.

image

Manage and Share Snippets

Now you can create, edit, and share code snippets or text documents directly from your web browser.

That’s it! You’ve successfully installed OpenGist v1.9.0 on Ubuntu 25.10.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS