Developers
Command line (CLI)
Install the filament command, so you can use Filament by typing commands in a terminal.
Before you start
Most people never need this. The desktop app does everything. The command line is for scripts and for people who like to type commands.
Install Filament first. The filament command comes with the app, so there's nothing else to download.
Keep the Filament app running while you use the command. The app does the work in the background.
On a Mac
- Click the gear at the bottom of Filament's sidebar to open Settings.
- Open the "Tools" tab.
- Under "Command line", find "Command line tool".
- Click "Install" and enter your Mac password if asked.
The row now says "Installed". Open a new Terminal window to use the filament command.
If the install fails, Settings shows a line under "Run this in Terminal:". Copy it into Terminal instead.
On Linux
Nothing to do. The Linux package installs the filament command with the app.
On Windows
The Windows app installs the filament command, but doesn't add it to your terminal yet. In Settings, its row says "Only available on macOS". Add its folder to your Path once. Path is the list of folders your terminal looks in for commands. This line adds it, for your account only:
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";C:\Program Files\180-Studios-Software\Filament", "User")- Copy the line above.
- Open PowerShell from the Start menu.
- Paste the line into PowerShell.
- Press Enter.
- Close every terminal window.
- Open a new terminal window.
Now the filament command works in any new terminal window, in PowerShell or Command Prompt.
To try it before you change Path, type the command's full path in PowerShell: & "C:\Program Files\180-Studios-Software\Filament\filament.exe" --version.
Trying it
Check that it's installed: type filament --version, without the $. It prints the version you have:
$ filament --version filament version=26.10.230+2f9417400e97967797f1d6849be89cfde88688c8
Then open a terminal in your project folder and type filament vcs status. It lists your pending changes.
On Windows, open the project folder in File Explorer. Right-click inside it and choose "Open in Terminal".
Project folders
Run filament vcs commands inside your project folder. They find the project from the folder, so you don't type its name.
To run one from somewhere else, add -C and the project folder's path.
Everyday commands
filament vcs status: see your pending changes.filament vcs diff: see exactly what changed.filament vcs commit -m "Fix the sky": commit every pending change.filament vcs commit -m "Fix the sky" renders: commit only the changes in therendersfolder. The rest stay pending.filament vcs restore <path>: throw away pending changes to a file or folder.filament vcs log: list commits, newest first.filament vcs branch list: list branches.filament vcs branch create --name idea: start a branch called idea.filament vcs branch switch --name idea: switch to it.filament vcs stack: put your branch's commits onto its target, when the target hasn't moved.
Write file and folder paths from the folder you are in, as you would for any other command. Put a path with spaces in quotes. In a subfolder, filament vcs status still lists every pending change, written from that folder. A change outside it starts with ../. You can copy any path it shows into a command.
Getting help
Add --help to any command to see what it does and its options:
$ filament vcs commit --help NAME: filament vcs commit - Create a commit USAGE: filament vcs commit [options] [path...] DESCRIPTION: With no path arguments, every pending change is committed. With one or more, only the changes under them are, and the rest stay pending — which is how one working state becomes several commits. A path names a file, or a folder and everything in it, from the current folder; a moved file also answers to its old path. A path that names no pending change is reported, not committed. OPTIONS: --hub uuid ID of the hub [$FILAMENT_HUB_ID] --organization uuid, --org uuid ID of the organization [$FILAMENT_ORGANIZATION_ID] --project uuid ID of the project [$FILAMENT_PROJECT_ID] --branch string branch name or ID; defaults to the branch whose folder you are in, else the active branch --message string, -m string commit message --force Commit a conflict's resolution even though the file still holds a conflict marker block --help, -h show help GLOBAL OPTIONS: -C directory change the working directory --agent-socket string path of the agent unix socket (default: "/Users/you/.filament/agent.sock")
Inside a project folder, you can leave out --hub, --organization and --project: Filament finds them from the folder. filament --help lists every command group.
Scripts and agents
Most commands also have a twin under filament asm that takes and returns JSON, a format programs read easily.
Add --schema to an asm command to see exactly what it accepts and returns. In its output, snapshot_id names a saved version of the whole project, either a commit's or your pending work's.
The same commands also run as Filament's MCP server, for AI assistants.