Use Rome without Node.js
Using Rome’s standalone CLI binary can be a great choice if you aren’t already using Node or npm (or any other package manager). Or in other words, Rome shouldn’t be the only reason for you to have a
Note: If you’re already using npm or another package manager, then using the package manager is the preferred way to install Rome. You’re already familiar with the tooling, and installing and updating are simpler.
- Windows (including WSL), macOS, or Linux
- x86_64 or ARM64
Picking the right binary
You have to pick the correct binary for your platform for Rome work. The following table should help you do so.
NOTE: Use the Linux variant for Windows Subsystem for Linux (WSL)
To install Rome, grab the executable for your platform from the latest CLI release on GitHub and give it execution permission.
# macOS arm (M1 or newer) curl -L https://github.com/rome/tools/releases/download/cli%2Fv<version>/rome-darwin-arm64 -o rome chmod +x rome # Linux (x86_64) curl -L https://github.com/rome/tools/releases/download/cli%2Fv<version>/rome-win32-x64.exe -o rome chmod +x rome # Windows (x86_64, Powershell) Invoke-WebRequest -Uri "https://github.com/rome/tools/releases/download/cli%2Fv<version>/rome-win32-x64.exe" -OutFile "rome.exe"
Note: Make sure to replace
<version>with the Rome version you want to install.
Now you can use Rome by simply running
Read more about how to use Rome in our getting started section.