The streamlio command-line interface (CLI) provides an easy-to-use interface to the Streamlio Cloud Service. The CLI is organized into multiple command groups: authentication, configurations, and authorization.
Mac OS X 10.12+ / Linux
Streamlio Cloud Service endpoint
Download and install the latest streamlio CLI using the following command
curl -fsSL https://get.cloud.streamlio.com | bash
This will install the latest version of streamlio CLI in the directory
$HOME/.streamlio. This directory contains all necessary executables and libraries to interact with the streamlio cloud service.
For the PATH settings and bash completion to take effect in the current
bash shell run the following command
To ensure PATH settings have taken effect, test the CLI version
If the command completes and prints the streamlio CLI version details, you have successfully installed the streamlio CLI. Next step is to configure the CLI with endpoint and authentication information.
Download the streamlio CLI installer script using the following command
curl https://get.cloud.streamlio.com -o install-streamlio.sh
Change the downloaded installer script permission to executable
chmod +x install-streamlio.sh
Run the installer script to install the streamlio CLI with the specific version
./install-streamlio.sh --version 0.8.9
In order to interact with the streamlio cloud service with CLI, you need to configure the CLI with
streamlio cloud service endpoint
Before configuring, get the authentication token from streamlio cloud service administrator. Once you have the authentication token and endpoint, you can configure the CLI using
streamlio config create NAME --address=<end-point> --token=<authentication-token>
For example, to create a config named
prod with the authentication token
s.authtoken and the endpoint
https://prod.xyz.cloud.streamlio.com issue the command as follows:
streamlio config create prod \--address=https://prod.xyz.cloud.streamlio.com --token=s.authtoken
prod will be the active configuration and all subsequent operations will be directed to this active configuration.
_____ Copyright 2019 Streamlio, Inc. Apache, Apache BookKeeper, Apache Pulsar and associated open source project names are trademarks of the Apache Software Foundation.