Skip to content

Easy installation through the data center (Cloud-init)

Use this page if your server provider lets you paste a setup script when you create a server. Hiddify Manager then installs itself automatically while the server starts; you only connect once at the end, to see your admin link.

Cloud-init is a standard tool that runs a setup script the first time a new server starts. Most providers (Hetzner, Vultr, OVH, DigitalOcean and others) support it. The field is often called User data, Cloud-init or Custom data.

Before you start

  • Choose Ubuntu 26.04 or 24.04 as the server's operating system. If neither is offered, Ubuntu 22.04 also works. Other versions are not supported.
  • Choose an amd64 (x86_64) or arm64 server.

Steps

Create the server

  1. Start creating a new server in your provider's dashboard.
  2. Find the cloud-init / user data field.
  3. Copy the code below and paste it into that field.
#cloud-config
package_upgrade: true
packages:
  - apt-transport-https
  - ca-certificates
  - curl
  - wget
  - gnupg-agent
  - software-properties-common
  - git
  - jq

runcmd:
  - cd /opt
  - bash -c "export CREATE_EASYSETUP_LINK='true' NO_UI='true'; curl -s https://i.hiddify.com/release | bash -s -- --no-gui"

final_message: "The system is finally up, after $UPTIME seconds"
output: { all: "| tee -a /root/cloud-init-output.log" }

# About 10-15 minutes after the server starts, connect to it (SSH or the
# provider's web console) and run: hiddify admin  -> shows your admin links.

Finish

  1. Create the server.
  2. Wait 10 to 15 minutes for the installation to finish.
  3. Connect to the server with SSH, or open the web console in your server provider's dashboard, and run hiddify admin. It shows your admin links: this is the server's normal, permanent admin link (there is no one-hour temporary link any more). Open one of them in your browser and keep it somewhere safe.

If hiddify admin says the command is not found, the installation is not finished yet: wait a few more minutes and try again.

Then:


Last update: December 2, 2026

Comments