Revit CLI

install bim-cli · windows · per-user · no admin
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1 -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'

bim is a command-line tool for Revit 2024 through 2027. Start Revit or connect to the session you have open from any terminal, export sheets, read schedules, and run arbitrary C# against the live API -- all without touching the Revit UI.

Drive Revit from a terminal

Install the add-in once, then restart Revit:

bim revit install

From that point, any terminal can drive the live session:

bim revit sheet-list
bim revit export --all-sheets --bim --output output/
bim revit schedule-read --name "Door Schedule"
bim revit exec --no-transaction --code "return doc.Title;"

Every command returns JSON. Commands compose with pipes; output feeds directly into Excel, Google Sheets, or any downstream tool.

Requires: Revit 2024, 2025, 2026, or 2027 installed and licensed. bim revit launch starts Revit with the add-in loaded; if Revit is already open, run bim revit install once and restart it.

Install

iwr -useb https://bimcli.com/install.ps1 -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1

Per-user. No admin rights. No account.

Open a .rvt from the command line

To open a model from a terminal, launch Revit with the path:

bim revit launch --path C:\projects\building.rvt

bim revit launch starts Revit, loads the add-in, opens the specified model, and streams progress until the session is ready. If Revit is already running, open a model into the live session instead:

bim revit open --path C:\projects\building.rvt

bim revit exec auto-launches Revit if no instance is running -- useful in scripts where you want the session to come up automatically.

What is the pyRevit CLI?

If you searched "Revit CLI" thinking of pyRevit's pyrevit command, that is a separate tool for a different job. The pyrevit command manages the pyRevit deployment itself -- installing and updating pyRevit across machines, managing clones, running a telemetry server. It is infrastructure tooling for pyRevit administrators.

bim's bim revit ... commands drive a live Revit session at runtime: export sheets, read and write parameters, run C# against the open document, and return structured JSON. It is a runtime interface to an open model, not a deployment manager.

If pyRevit deployment is what you need, head to docs.pyrevitlabs.io.

related Run C# and export sheets in a live Revit session — bim-revit Headless Revit — Run Revit Unattended from the CLI Revit Automation from the Command Line Open a Revit Model with Unresolved Links, Unattended
install bim-cli · windows · per-user · no admin
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1 -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'

Then ask your assistant to run bim describe --json. See what the installer does.