Skip to main content

Command-line Usage

EcoFlowJS can be started using the ecoflow command with various arguments:

ecoflow [-?] [-h] [--configName config.json] [--userDir DIR] [--port PORT]

Basic Commands

OptionTypeDescriptionDefault
-h, --hoststringOptional. Sets the TCP address of the server.127.0.0.1
-p, --portstringOptional. Sets the TCP port the runtime listens on.4000
--authbooleanOptional. Enable authentication mode.false
-D, --devbooleanOptional. Enable development mode.false
-u, --userstringOptional. Sets the user directory.$HOME
-v, --verbosebooleanOptional. Enable verbose output.false
-V, --versionbooleanOptional. Display the runtime version.
-?, --helpbooleanOptional. Display the available commands.

Admin Commands

info

Currently under development.