VPS one-click scripts
All scripts / Tutorials / 1panel

1Panel Installation Tutorial (Official Script)

This tutorial shows how to install the open-source 1Panel with xyz.sh/1panel.

Command
$ curl -fsSL xyz.sh/1panel | bash

Details · xyz.sh/1panel · Last updated:

Prerequisites

Root, at least 1 GB RAM, access to Docker registries.

Allow the 1Panel port (chosen during install) in your security group.

Steps

Optional: read the source with curl -fsSL xyz.sh/1panel.sh and compare xyz.sh/1panel.sh.sha256.

As root in an SSH terminal: curl -fsSL xyz.sh/1panel | bash

Check the official URL and SHA256, type y, then set directory, port, user and password.

Overseas servers: curl -fsSL xyz.sh/1panel | bash -s -- --intl

Preview only: curl -fsSL xyz.sh/1panel | bash -s -- --dry-run

How to verify

The installer prints the panel URL with its security entrance; later, 1pctl user-info shows it and 1pctl status shows the service.

How to undo or uninstall

Run 1pctl uninstall to remove 1Panel (Docker and its containers are handled separately).