Skip to main content

Install the FlowCtl

Install the FlowCtl as the main tool for running FlowSynx-related tasks

Step 1: Install the FlowCtl

Install from Terminal

Install the latest Linux FlowCtl to /usr/local/bin:

wget -q https://raw.githubusercontent.com/flowsynx/flowctl/master/install/install.sh -O - | /bin/bash

Installing a specific FlowCtl version

The following example shows how to install FlowCtl version 0.1.0.

wget -q https://raw.githubusercontent.com/flowsynx/flowctl/master/install/install.sh -O - | /bin/bash -s 0.1.0

Install without sudo

If you do not have access to the sudo command or your username is not in the sudoers file, you can install FlowCtl to an alternate directory via the FLOWCTL_INSTALL_DIR environment variable. This directory must already exist and be accessible by the current user.

wget -q https://raw.githubusercontent.com/flowsynx/flowctl/master/install/install.sh -O - | FLOWCTL_INSTALL_DIR="$HOME/flowctl" /bin/bash

Installing a specific FlowCtl version without sudo

The following example shows how to install FlowCtl version 0.1.0.

wget -q https://raw.githubusercontent.com/flowsynx/flowctl/master/install/install.sh -O - | FLOWCTL_INSTALL_DIR="$HOME/flowctl" /bin/bash -s 0.1.0
Register path to the OS Environment Varables

In linux-based operating system, if you use the Install without sudo option, you must register the $HOME/flowctl to the PATH of Environment Variables. To do this, you can use below command:

export PATH=$PATH:$HOME/flowctl

Step 2: Verify the installation

Verify the CLI is installed by restarting your terminal/command prompt and running the following:

flowctl -h

Output

Description:
flowctl controls the FlowSynx engine.
Find more information at: https://flowsynx.io/docs/getting-started/install-flowctl

Usage:
flowctl [command] [options]

Options:
-?, -h, --help Show help and usage information

Commands:
config Manage configurations related to FlowSynx System
dashboard Run and execute the FlowSynx dashboard
health Display the health status of FlowSynx System
init Install and initialize FlowSynx system and Dashboard on the current user profile
logs Get FlowSynx System logs
plugins Display list and details of plugins supported by FlowSynx system
run Run and execute the FlowSynx system on the current user profile
invoke Invoke a method on FlowSynx system
stop Stop the FlowSynx system and its associated apps which running on the current user profile
uninstall Uninstalling FlowSynx system, Dashboard, and Cli from the current user profile and machine
update Update FlowSynx system, Dashboard, and Cli
version Display the FlowSynx system and Cli version