The prebuilt executables live on the GitHub Releases page. Replace v1.0 with the newest tag when needed.
Windows
curl -L -o pyrefine.exe https://github.com/PG-AGI/PyRefine/releases/download/v1.0/pyrefine.exe
pyrefine.exe --versionmacOS
curl -L -o pyrefine-macos https://github.com/PG-AGI/PyRefine/releases/download/v1.0/pyrefine-macos
chmod +x pyrefine-macos
./pyrefine-macos --versionUbuntu/Linux
curl -L -o pyrefine-linux https://github.com/PG-AGI/PyRefine/releases/download/v1.0/pyrefine-linux
chmod +x pyrefine-linux
./pyrefine-linux --versionIf the executable is stored outside the project root, pass --project-root PATH_TO_REPO on every command (e.g. pyrefine.exe --project-root C:\code\MyRepo --setup).
- Download the appropriate binary and place it in your empty project directory.
- Run the initializers:
(On Windows use
pyrefine --create pyrefine --setup pyrefine --clean .pyrefine.exe.) - Commit the generated structure and begin development.
- Drop the binary into the repository (or reference it via
--project-root). - Apply the cleanup workflow:
pyrefine --setup pyrefine --clean . pyrefine --test-coverage # optional validation
| Command | Summary |
|---|---|
pyrefine.exe |
Runs clean workflow on current repo |
pyrefine --clean <path> |
Formats target using full formatter stack |
pyrefine --create |
Bootstraps standard project structure |
pyrefine --setup |
Configures VS Code and environments |
pyrefine --test-coverage [path] |
Generates pytest coverage reports per project |
pyrefine --update [--manifest-url URL] |
Downloads and installs newest binary release |
If you want the complete working details for developers and maintainers, see docs/WORKING.md which describes the architecture, each command's behavior, and implementation notes.