MAINNET:
Loading...
TESTNET:
Loading...
/
onflow.org
Flow Playground

Install the Flow CLI

How to install the Flow command-line interface (CLI)


The Flow CLI can be installed on macOS, Windows (7 or greater) and most Linux systems.

macOS

Homebrew

brew install flow-cli

From a pre-built binary

This installation method only works on x86-64.

This script downloads and installs the appropriate binary for your system:

sh -ci "$(curl -fsSL https://storage.googleapis.com/flow-cli/install.sh)"

To update, simply re-run the installation command above.

Linux

From a pre-built binary

This installation method only works on x86-64.

This script downloads and installs the appropriate binary for your system:

sh -ci "$(curl -fsSL https://storage.googleapis.com/flow-cli/install.sh)"

To update, simply re-run the installation command above.

Windows

From a pre-built binary

This installation method only works on Windows 10, 8.1, or 7 (SP1, with PowerShell 3.0), on x86-64.

  1. Open PowerShell (Instructions)

  2. In PowerShell, run:

    iex "& { $(irm 'https://storage.googleapis.com/flow-cli/install.ps1') }"
    

To update, simply re-run the installation command above.