Note : Do Not Copy The Hash (#)
Run as root on a fresh Ubuntu VPS:
# bash <(curl -fsSL https://raw.githubusercontent.com/Humran13/Hysteria2-3X-UI-Server/main/install.sh)
# sudo hysteria2 status
# sudo hysteria2 info [NAME]
# sudo hysteria2 clients
# sudo hysteria2 add-client [NAME] [--expire-days N] [--quota-gb N]
# sudo hysteria2 qr [NAME]
# sudo hysteria2 export [NAME] --format uri
# sudo hysteria2 disable-client NAME
# sudo hysteria2 enable-client NAME
# sudo hysteria2 remove-client NAME
# sudo hysteria2 logs
# sudo hysteria2 restart
# sudo hysteria2 diagnostics
# sudo hysteria2 repair
# sudo hysteria2 backup
# sudo hysteria2 restore FILE
# sudo hysteria2 update
# sudo hysteria2 update --self
# sudo hysteria2 uninstall --level 1|2|3
To update an existing v1.0.0 installation without reinstalling or touching unrelated panel configuration:
# sudo hysteria2 update --self && sudo hysteria2 repair
# sudo hysteria2 diagnostics
# sudo systemctl status x-ui
# sudo journalctl -u x-ui -n 100 --no-pager
# sudo ss -lunp | grep ':443'