Fluiddocs
Getting started

Quickstart

Install the CLI, sign in, connect a provider and run a first job.

Warnings and limits

  • Fluid is open to anyone with a verified email address.
  • A connected provider is not usable capacity: check your account's quotas for the region, the machine family, spot and GPUs first. See Quotas and capacity.
  • A new workspace may have to link a bank account or a card before its first job. An Owner links it in the console. Linking charges nothing. See Link a payment method.
  • A launch uploads your project directory: files over 100 MB are left out, and a project over 500 MB is refused.
  • A job's outputs are kept 7 days after it ends. Pull them before then.
  • Ctrl-C detaches from a job's output. It does not stop the job, and the machine keeps billing until the job ends or you stop it.

Install the CLI

curl -fsSL https://api.fluid.sh/install.sh | sh

The installer puts fluid on your PATH and runs fluid setup, which registers Fluid with Claude Code and Codex when they are installed and opens the browser to sign you in. See Install the CLI.

With a coding agent, give it set up https://fluid.sh/SKILL.md instead: it installs Fluid, waits for your sign-in and connects the clouds you approve, which covers the next two steps. It then checks those clouds' GPU and Spot quotas and, if you agree, applies for what one job needs. See Set up your coding tool.

Sign in

If you skipped sign-in during setup:

fluid login

Approve the sign-in in the browser. The CLI gets a credential of its own; you never paste a token. See Sign in.

A new workspace may be asked for a bank account or a card before its first job. When it is, the console's first page, Connect your compute, opens with Link a bank account or card. As an Owner, press it: the payment provider's page takes the details, and nothing is charged until you add credit, which is optional.

Until a method is linked, connecting a provider and comparing quotes work, and a launch does not: it is refused with the code payment_method_required, and a quote says so. Anyone else in the workspace is told which Owner to ask. A workspace that was not asked can skip this step.

Connect a provider

See which cloud CLIs are signed in on this machine, then connect one with its own login:

fluid connect --detect
fluid connect aws --from-cli

--from-cli lists every step it will take in your account and asks before it makes anything. You can also connect from the console's Connect page. See Providers.

Compare quotes

fluid prices --gpu T4
fluid run train.py --gpu T4

Without --on, fluid run only lists quotes: nothing is uploaded and nothing starts. No script at hand? Put --example in place of train.py, here and in the next step: it runs Fluid's example job, which needs no file of yours and ends in under a minute. See The example job.

Launch

Pick a quote and pass its spec to --on, with a project name:

fluid run train.py --gpu T4 --on SPEC --project demo -d

SPEC is the exact spec of the quote you picked, as fluid run printed it. --project is required to launch (1 to 100 characters). -d returns once the job is queued. Script arguments go after --. See Run a job.

Watch it

fluid ps
fluid logs JOB --follow
fluid explain JOB

JOB is a job id, a unique start of one, or the job's name. The console shows the same at fluid.sh/app.

Collect the outputs

When the job has ended:

fluid pull JOB ./results

See Outputs and logs.

On this page