CLI

Commands

Every portlify subcommand.

Config lives at ~/.config/portlify/config.yml (Windows: %USERPROFILE%\.config\portlify\config.yml).

register

portlify register --mail you@domain.com

Creates the account, mints a CLI API key, and saves it. The key is printed once.

login / logout

portlify login
portlify login --mail you@domain.com
portlify logout

No flags opens the browser. --mail uses the password API.

http / tcp / ssh

portlify http 3000
portlify http 3000 --subdomain parrot
portlify http 127.0.0.1:3000
portlify tcp 5432
portlify ssh
portlify ssh 22

keys

portlify keys
portlify keys create --name laptop

config

portlify config
portlify config path
portlify config set-token plfy_…
portlify config set-api-url https://api.portlify.ru
portlify config set-app-url https://portlify.ru

status / diagnose

portlify status
portlify diagnose

status lists your tunnels from the API. diagnose prints the API URL and opens a short-lived agent session.