Install the CLI
Everything in Fabric is driven from one binary, fabric. Install it with a
single command:
curl -fsSL https://app.fabricemr.com/install.sh | sh
This installs fabric to ~/.fabric/bin. Add that directory to your PATH if
the installer prompts you to.
Authenticate
fabric login
login opens your browser for device authorization and saves your credentials,
so you only do it once.
Headless or SSH (no local browser)
On a box with no browser (an SSH session, a remote agent), use device-code activation:
fabric login --no-browser
It prints an activation URL and a one-time code straight away. Open the
URL in a browser on any machine, sign in, enter the code, and the CLI finishes
on its own. Add --json to get the URL and code as structured output for a
script to surface.
If you already hold a token (CI, a provisioned agent), skip the browser entirely by piping it:
echo "$FABRIC_TOKEN" | fabric login
First login against a local dev hub
Running Fabric locally? Open the hub in a browser, sign in on /signin with
Dev Quick Sign In, then run fabric login --no-browser and approve the
printed code. That’s the local-dev path past the no-account, no-token
chicken-and-egg.
Don’t have an account?
fabric signup
This runs browser sign-up and CLI auth in one step. Your account comes with one repository, created automatically. You never create or name it; Fabric uses it for you.
Verify
fabric whoami # who you're signed in as
fabric --help # the live command set, always accurate
Once you can run fabric whoami, head to the Quickstart.