Install
Phlow is currently in alpha stage and under active development. It is not recommended for production use at this time. The stable version will be released as v1.0.0 or higher in the future.
You can easily install Phlow using our ready-to-use shell scripts.
Requirements:
- 64-bit Linux system (x86_64-unknown-linux-gnu target)
- glibc version 2.31 or higher (included in Ubuntu 20.04 and later)
Install via curl
curl -fsSL https://raw.githubusercontent.com/phlowdotdev/phlow/refs/heads/main/scripts/install-phlow.sh | { bash || true; }
Install via wget
wget -qO- https://raw.githubusercontent.com/phlowdotdev/phlow/refs/heads/main/scripts/install-phlow.sh | { bash || true; }
Running with Docker
There are two ways to execute Phlow using Docker:
-
Pass a file, gzip, zip, or Git repository URL via the
PHLOW_MAIN
environment variable:
Phlow will download the file and execute it.Example:
docker run -it --rm -e PHLOW_MAIN=https://example.com/file.zip ghcr.io/phlowdotdev/phlow:latest
-
Create a volume and pass the file path via the
PHLOW_MAIN
environment variable:
Phlow will execute the specified file from the mounted volume.Example:
docker run -it --rm -v "$(pwd)/examples/restapi-ping:/data" -e PHLOW_MAIN=/data/main.phlow -p 3000:3000 phlow
Extra example:
Run a Phlow mirror request:
This example demonstrates how to run a Phlow mirror request using Docker. The
PHLOW_MAIN
environment variable is set to the URL of the main file in the GitHub repository.Example:
docker run -it --rm -e PHLOW_MAIN=https://github.com/phlowdotdev/phlow-mirror-request/archive/refs/heads/main.zip ghcr.io/phlowdotdev/phlow:latest