bim-cli gives your agent bim superpowers.
Check a drawing-set PDF, run a site report, export Revit sheets: your AI assistant does it on your PC.
Hand your agent the drawing set, the site and the model. bim is free and runs on your Windows PC, so your files stay on your machine. No admin rights, no account.
Works with an AI assistant that can run commands on your PC: Claude Code, Codex, Cursor, GitHub Copilot, or any tool that can run shell commands. Revit 2024 through 2027.
Only use ChatGPT or Claude in a chat window? Those can't run programs on your PC yet, so they can't use bim; Claude Desktop can, with two setup steps.
Paste this into your AI coding tool
If Revit is open, you'll restart it once and click Always Load.
Copy the prompt into your assistant. It installs bim, checks what your PC has, and suggests what to try first. You approve each step it runs.
Install bim-cli on this Windows machine and then use it.
Step 1 — install. Run this exactly:
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'
The installer is per-user (no admin), idempotent, and prints `BIM_INSTALLED_OK <version> <path>` as its final line on success.
Step 2 — refresh PATH in your current session:
bash: export PATH="$PATH:$LOCALAPPDATA/bim-cli"
pwsh: $env:Path += ";$env:LOCALAPPDATA\bim-cli"
Step 3 — orient:
bim doctor --json # environment readiness; each failed check has a fix field
bim describe --json # full driver/verb/arg schema; each driver has a docs URL
Fetch the docs URL for any driver you plan to use before issuing commands.
Calling convention: `bim <format> <verb> [args]`. stdout is JSON, stderr is human.
Error envelope: `{"ok":false,"error":{"kind":"...","message":"...","hint":"..."}}`.
Exit codes: 0 ok · 1 generic · 2 usage · 3 not-found · 4 permission · 5 conflict.
After describe + doctor, tell me in plain words what is ready, then suggest three things I could ask you to do with bim on this PC (exporting sheets if Revit is installed, a site report for an address, checking a drawing-set PDF).
The prompt is written for your assistant. It installs bim, then orients itself from bim describe --json, with no configuration and nothing for you to decide. Agents can read the full reference at /llms.txt, and each driver's own /…/llms.txt.
Made by Small Tiger Group. For IT and BIM managers: what bim installs, what it sends, and what agents can change →
What your agent can do with bim
Check a drawing-set PDF
Find missing sheets, unresolved callouts and titleblock mismatches in a PDF drawing set, as JSON findings your assistant can act on.
bim pdf set check drawings.pdf
Site report for a US address
Flood zone for any US address, plus zoning, landmark and transit layers where covered, in one PDF report.
bim site assess --address "350 Fifth Avenue, New York, NY"
Export Revit sheets without clicking through Revit
Export a whole sheet set to PDF from a prompt. Revit 2024, 2025, 2026 or 2027 must be installed; bim drives it for you.
bim revit export --all-sheets --output ./pdf
Compress a PDF on Windows
Shrink a PDF locally with one command: no upload, no Acrobat, drawings unchanged.
bim pdf optimize --file drawings.pdf
Revit to Excel and back
Pipe a Revit schedule into a spreadsheet, or read a spreadsheet and write the values back into the model.
bim revit schedule-read --name "Door Schedule" | bim excel write ./doors.xlsx
Start with a real result
Each prompt installs bim-cli if needed and finishes with a file you can open.
Revit open? Export the sheet set to PDF
Install bim-cli if it is not installed yet (run exactly, then add %LOCALAPPDATA%\bim-cli to PATH): powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1' Then add the bim add-in to Revit (once): bim revit install --all bim revit status If Revit is already open and status shows no bim add-in, ask me to save my work, close Revit and open my model again. Revit then asks about the bim add-in: I click "Always Load". Wait for me to say the model is open. Then export every sheet into a pdf folder next to my model: bim revit export --all-sheets --output "<folder next to my model>\pdf" Tell me where the PDF is and how many sheets it has.
Revit open? Door schedule to Excel
Install bim-cli if it is not installed yet (run exactly, then add %LOCALAPPDATA%\bim-cli to PATH): powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1' Then add the bim add-in to Revit (once): bim revit install --all bim revit status If Revit is already open and status shows no bim add-in, ask me to save my work, close Revit and open my model again. Revit then asks about the bim add-in: I click "Always Load". Wait for me to say the model is open. Then put the door schedule in a spreadsheet next to my model (use a full path, so the file does not land in a temp folder): bim revit schedule-read --name "Door Schedule" | bim excel write "<folder next to my model>\doors.xlsx" If there is no schedule called "Door Schedule", ask me which one to use. Tell me where the file is and how many rows it has.
bim starts Revit or uses the one you have open, and Revit stays in its own window. The add-in is not code-signed yet, which is why Revit asks once. More on Revit → See the Revit CLI guide.
No Revit? Start here
Most of bim-cli works without Revit or any other desktop app. These get you a real result in about a minute.
Site report for any US address
Install bim-cli if it is not installed yet (run exactly, then add %LOCALAPPDATA%\bim-cli to PATH): powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1' Then run a site report for this address: <your address> bim site assess --address "<your address>" > assess.json bim site flood.map --lat <lat> --lon <lon> --out flood.png # lat/lon are top-level fields in assess.json bim pdf report --data assess.json --flood-map flood.png --out site-report.pdf Summarize the flood zone, zoning, landmark status and transit for me, then open site-report.pdf.
Inspect or shrink a drawing-set PDF
Install bim-cli if it is not installed yet (run exactly, then add %LOCALAPPDATA%\bim-cli to PATH): powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1' Then work on this PDF: <path to a drawing set> bim pdf info --file "<path>" # pages, sheet sizes, text layer bim pdf optimize --file "<path>" # smaller copy, same drawings Tell me the page count and sheet sizes, and how much smaller the optimized copy is.
Check a building-code question
Install bim-cli if it is not installed yet (run exactly, then add %LOCALAPPDATA%\bim-cli to PATH): powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1' Then answer my code question with citations: <question, e.g. max travel distance in a sprinklered B occupancy> bim code jurisdictions # pick nyc-2022, ibc-2021 or ca-2022 bim describe code --json # how to call rules / check Quote the section numbers you used.
What it drives
One driver per app or data source, all under bim <format> <verb>.
revit · acad · pdf · site · excel · google · rhino · sketchup · blender · image · energy — all drivers and verbs →
Compose with pipes
Every command reads stdin and writes stdout as JSON, so drivers compose with standard pipes.
bim revit warnings-export | bim excel write warnings.xlsx
bim site flood lookup --address "..." --geocode | bim revit exec --file set-flood.cs --args-json -
bim pdf marked drawings.pdf | bim excel write takeoff.xlsx --pivot page
bim revit sheet-list | bim google sheets append --spreadsheet <id> --with-header
Task-focused workflows → · FAQ → · Changelog →
Windows 10/11 x64 · Revit 2024–2027 for bim revit · no .NET, Python, or other runtime required · installs to %LOCALAPPDATA%\bim-cli\