Updating and uninstalling

Update (Linux and macOS)#

curl -fsSL https://raw.githubusercontent.com/VickyDev810/Cloudify-Tunnel-Manager/main/install.sh | bash -s -- --update

Or bash install.sh --update. Works from any earlier version, including 1.x.

Running tunnels keep running and all settings are kept. Details: The idea behind it.

Afterwards:

  • If the installer says the dashboard is still running the previous version, stop it and start cloudify serve again (systemctl --user restart cloudify-dashboard if you made a service). Everyone has to sign in again.
  • If cloudify --version still shows the old version, open a new terminal.

Coming from 1.x#

1.x Now
users.json in the folder you started cloudify serve from ~/.cloudflared/cloudify/users.json (moved by the installer)
One Cloudflare login Several. Name the old one: cloudify account domain default example.com
cloudify serve --next-frontend, --frontend-port, --api-host, --windows cloudify serve [--serve-port 8765] [--host ADDR]

Update in Docker#

cd Cloudify-Tunnel-Manager && git pull
docker compose -f docker/docker-compose.yml up -d --build

Coming from the 1.x container, first move its data: Docker.

Update on Windows (native)#

pipx install --force https://github.com/VickyDev810/Cloudify-Tunnel-Manager/archive/refs/heads/main.zip

In WSL, use the Linux command.

Update only cloudflared#

cloudify cloudflared version       # installed vs latest
cloudify cloudflared update        # updates the binary, or prints the brew/apt/dnf command to use

Then restart tunnels: cloudify tunnel stop web && cloudify tunnel start web.

Restore the previous settings#

Stop the dashboard, then:

ls ~/.cloudflared/cloudify/backups/
tar -xzf ~/.cloudflared/cloudify/backups/before-update-20261115-120000.tar.gz -C ~/.cloudflared

Install an older version: bash install.sh --branch <tag-or-branch>.

Uninstall#

curl -fsSL https://raw.githubusercontent.com/VickyDev810/Cloudify-Tunnel-Manager/main/install.sh | bash -s -- --uninstall

This removes the program only. Tunnels keep running and auto-starting. ~/.cloudflared and cloudflared stay.

Remove everything#

The safety check stops all tunnels, removes auto-start, and uninstalls Cloudify and cloudflared. Add --purge to also delete ~/.cloudflared:

curl -fsSL https://raw.githubusercontent.com/VickyDev810/Cloudify-Tunnel-Manager/main/safety-check.sh | bash -s -- --remove

Or by hand:

  1. Delete tunnels before uninstalling: dashboard → Delete, or cloudify tunnel delete <name>.
  2. Uninstall with --uninstall --purge. This also deletes ~/.cloudflared/cloudify (users, connections, backups).
  3. Optional: rm -rf ~/.cloudflared. This deletes all cloudflared logins and tunnel credentials, also those not created by Cloudify. Remove cloudflared with sudo rm /usr/local/bin/cloudflared, brew uninstall cloudflared, or your package manager.