nixfredFLOXFIELD GUIDE · BY NIX UNOFFICIAL
EXECUTE / POC AND DEMO SCRIPTS

POC and demo scripts

Five demos, each with commands that appear in the Flox docs, a success criterion and a time-box: a first environment, sharing it on FloxHub, services, a container image, and imageless Kubernetes on a local cluster. Since 2026-10-20, install, upgrade and resolve need a free FloxHub login; search, show and activating an environment with a valid lockfile stay public. Time-boxes on this page are suggestions, not Flox figures.

This page is drawn from https://flox.dev/docs/flox-5-minutes, https://flox.dev/docs/install-flox/install, https://flox.dev/docs/concepts/authentication, https://flox.dev/blog/flox-catalog-login-requirement-what-you-need-to-know/, https://flox.dev/docs/man/flox-init, https://flox.dev/docs/man/flox-activate, https://flox.dev/docs/man/flox-containerize, https://flox.dev/docs/tutorials/sharing-environments, https://flox.dev/docs/imageless-kubernetes/examples/kind-demo and https://flox.dev/docs/concepts/services, all checked 2026-11-04.

Before you start

POC success criteria (agree on these first)

Ask the customer to pick measures before you start. Suggested, and all the customer’s to change:

  • A person who has never used Flox gets a working environment in the time-box below, from a repo or from FloxHub (https://flox.dev/docs/flox-5-minutes).
  • Two machines, ideally one macOS and one Linux, get the same package versions from the same lockfile (https://flox.dev/docs/flox-5-minutes).
  • The customer names one number they will compare before and after, for example setup time or environment-related questions. Flox publishes no benchmark to borrow [verify] (https://flox.dev/case-studies/).
  • A named owner decides on the close-out date. See the close-out checklist below.

Demo 1: a first environment (10 minutes)

Goal: show that an environment is a directory with a manifest. Needs a login for the install step (https://flox.dev/docs/concepts/authentication).

mkdir myproject && cd myproject
flox init
flox search ripgrep
flox show ripgrep
flox install ripgrep
flox list
flox activate -c "rg --version"

Demo 2: share it and reproduce it (10 minutes)

Goal: another machine gets the same environment. Share with git, then with FloxHub (https://flox.dev/docs/tutorials/sharing-environments).

git add .flox && git commit -m "sharing flox environment"
# on another machine, after git clone:
flox activate
# or via FloxHub:
flox auth login
flox push
flox pull youruser/myproject
flox activate -r youruser/myproject

Demo 3: services (8 minutes)

Goal: a database or worker that starts with the environment. Use the sample project (https://flox.dev/docs/flox-5-minutes).

git clone https://github.com/flox/flox-in-5min.git
cd flox-in-5min
flox activate
flox services start
flox services status
flox services logs --follow
flox services stop

Demo 4: export a container image (8 minutes)

Goal: the same environment as an OCI image. Needs Docker or Podman on macOS (https://flox.dev/docs/man/flox-containerize).

flox containerize --runtime docker
docker run -it <image>

Demo 5: imageless Kubernetes on kind (15 minutes)

Goal: a pod that names a FloxHub environment instead of an image. Needs Flox and a FloxHub login (https://flox.dev/docs/imageless-kubernetes/examples/kind-demo).

git clone https://github.com/flox/flox-kind-demo.git &&
cd flox-kind-demo &&
flox activate -- just up
curl localhost:3000/quotes/0
just down

Optional: CI

The docs list flox/install-flox-action and flox/activate-action, which runs a command inside the environment (https://flox.dev/docs/tutorials/ci-cd). A committed manifest.lock lets CI activate without credentials; otherwise use a service account token in FLOX_FLOXHUB_TOKEN (https://flox.dev/blog/flox-catalog-login-requirement-what-you-need-to-know/).

POC close-out checklist

  • Re-read the success criteria with the customer and record the measured result against their number.
  • List which commands needed a login, and confirm that account and token handling is acceptable (https://flox.dev/docs/concepts/authentication).
  • Note which plan the pilot used and which features the next step needs: the Free plan has 3 private FloxHub envs and Team lists unlimited team FloxHub envs (https://flox.dev/pricing/).
  • Send the customer the exact commands and the repo or environment they ran, so they can repeat the POC alone.

← Scenarios and reference architectures · CLI cheat sheet →