From d09a37f7c0137be833185e939ea18a54adeef21e Mon Sep 17 00:00:00 2001 From: Owen Date: Thu, 30 Jul 2026 13:36:47 -0400 Subject: [PATCH] Add note about cli args --- manage/sites/install-site.mdx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/manage/sites/install-site.mdx b/manage/sites/install-site.mdx index 5c61062..5dba4c8 100644 --- a/manage/sites/install-site.mdx +++ b/manage/sites/install-site.mdx @@ -237,7 +237,18 @@ Container management UIs like Portainer typically allow passing commands and env ### Windows Service -On Windows, newt can to be installed and run as a Windows service to remain persistent. +On Windows, newt can be run as a service or normally as a binary in a session. + +When running as a binary and not installing the service, you can use the same CLI arguments as you would on any other platform. + +If you are installing the service, we recommend writing the config into the config file location (`%PROGRAMDATA%\newt\newt-client\config.json`) first, following the [config file format](/manage/sites/install-site#config-file-injected-as-compose-secret), with the provisioning key. Alternatively, you can install the service and start it with CLI args, which will also work. For example: + +``` +newt install +newt start --endpoint https://app.pangolin.net --provisioning-key +``` + +This will provision a new service, start it, and create the config file for future starts. #### Service Management Commands