You are here: Topshelf » Documentation »

Command Line Syntax

Command Line Syntax

Note: variables are shown as {variable_name}

Run as Console (default)

{your_exe}

Run as Service

{your_exe}

Install Service to Windows Services

{your_exe} install

Uninstall Service from Windows Services

{your_exe} uninstall

Optional Install/Uninstall Parameters

/instance:{instance_name}

Note: <= 1.0 versions of Topshelf, the synax was {your_exe} service install and {your_exe} service uninstall.