CLICommand reference

CLI command reference

Every public CLI command, argument, and option, grouped by task.

Use synq <command> --help to check the version installed on your machine. <value> is required; [value] is optional. Aliases appear beside the command name.

Global options

OptionMeaning
-V, --versionoutput the version number
--jsonMachine-readable JSON output (stdout data only)
--native-config <file>Run SDK commands using an explicitly trusted JavaScript configuration
-h, --helpdisplay help for command

Put global options before the command, for example synq --json project list. See native mode before using --native-config.

Connect

CommandPurpose
synq loginAuthenticate with a Personal Access Token (create one in dashboard Settings)
synq logoutRemove the stored Synq token
synq contextManage connection contexts (list/use/add/rm)
synq tokenManage personal access tokens
synq apiMake an authenticated request to any Synq API route (like gh api)

Deploy

CommandPurpose
synq initLink the current directory to an Synq project (.synq/project.json)
synq configAuthor and validate synq.json (declarative deploy config)
synq deployTrigger a deployment for the current project
synq deploymentManage deployments (list, inspect, redeploy, rollback, …)
synq logsView or stream a deployment's logs

Applications

CommandPurpose
synq projectManage Synq projects
synq appBrowse, install, and configure catalog apps
synq serviceManage the services in a compose stack (a multi-service project)
synq domainManage custom domains, DNS verification, and SSL certificates

Infrastructure

CommandPurpose
synq jobManage self-hosted jobs, schedules, and run logs
synq serverManage self-hosted SSH servers
synq backupManage backups: policies, runs, restores, destinations
synq edgeInstall and manage the OpenResty edge (reverse proxy, TLS, per-route rules)
synq mailSelf-hosted mail server (iRedMail) setup and admin [self-host]
synq systemInstance settings, onboarding, migration, and data transfer

Local installation

CommandPurpose
synq upStart Synq as a persistent service (boot + auto-restart); --foreground to run attached
synq stopStop Synq (started by synq up) — it won't restart or return on reboot
synq statusShow the local Synq service (installed/running, ports) and the active context's API health
synq doctorCheck database + services health and repair a corrupt local database
synq openOpen the Synq dashboard in your browser
synq installDownload and install the Synq desktop app (Mac or Windows) from synquic.tech
synq updateUpdate the Synq CLI + bundled server to the latest release
synq uninstallRemove Synq from this machine: stop it, delete its data (database, certs, edge config), its images, and ~/.synq. Deployed apps are left running.
synq reset-admin-passwordReset the local admin login on THIS machine (no sign-in required)
synq panel-domainShow the panel's address, or move the panel to https://<host> with a Let's Encrypt certificate (run on the server, as root)
synq apps-domainShow or change the domain free app subdomains use on this server (<app>.<apps domain>)
synq host-networkShow, allow or refuse host networking (network_mode: host) for this server's services (run on the server, as root)

Shell

CommandPurpose
synq completionGenerate shell completion scripts

On this page