Resources · Product docs · Product doc
Choose server, ai-proxy, or all
One agent file. The --mode flag selects the server daemon, the local LLM proxy, or both.
Check command
sh install.sh --token TOKEN --mode server
Copied.
The installer takes one mode:
sh install.sh --token TOKEN --mode server
sh install.sh --token TOKEN --mode ai-proxy
sh install.sh --token TOKEN --mode all
Run it as root, or prefix sh with sudo / doas. The script detects a root shell, sudo, or doas on Alpine. server copies the agent to /opt/portgate and schedules a heartbeat with cron or Alpine crond. ai-proxy listens on 127.0.0.1:8787 and can install into $HOME/.portgate with no root. all runs both and needs root.
Read agent.py before you pipe an installer to a shell. The dashboard prints a command with your token already filled in. The token is shown once.