Skip to content

fluencelabs/cli

Repository files navigation

Fluence CLI

Fluence is a decentralized serverless platform & computing marketplace powered by blockchain economics. Fluence is a global, permissionless, scalable, and secure alternative to centralized cloud computing platforms.

Fluence CLI is designed to be the only tool that you need to manage the life cycle of applications written on Fluence. It provides project scaffolding, compilation, service deployment, dependency management and installation, storage of keys and ids, etc.

CLI installation

Windows

To download and install fluence use Windows .exe installer from the release page.

Linux and macOS

To download and install fluence use our install.sh script

curl -qsL https://raw.githubusercontent.com/fluencelabs/cli/main/install.sh | bash

Installing manually

  • download fluence archive for your platform from latest release.

  • extract archive contents to default fluence user directory

    tar --strip-components=1 -xzf <archive> -C "${HOME}/.fluence/cli"
  • add ${HOME}/.fluence/cli/bin to $PATH

Update

To select fluence version compatible with certain network (stage, testnet, mainnet) run:

fluence update <network>

You will receive notifications about updates when new version is promoted.

For more information run:

fluence update --help

Uninstall CLI

Windows

Go to installation directory and run Uninstall.exe binary.

Linux and macOS

To uninstall CLI you need to remove couple of directories

rm -rf ~/.fluence
rm -rf ~/.local/share/fluence

You can also remove ${HOME}/.fluence/cli/bin from $PATH e.g. like that:

rm $(which fluence)

Documentation

  1. A complete list of commands together with usage examples
  2. Documentation for all Fluence CLI configs
  3. Environment variables that affect Fluence CLI and are important for Fluence CLI maintainers

Support

Please, file an issue if you find a bug. You can also contact us at Discord or Telegram. We will do our best to resolve the issue ASAP.

Contributing

Any interested person is welcome to contribute to the project. Please, make sure you read and follow some basic rules.

License

All software code is copyright (c) Fluence Labs, Inc. under the GNU Affero General Public License version 3 license.