diff --git a/README.md b/README.md index 468509723a6..8e47e942d3b 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,10 @@ _Black_ can be installed by running `pip install black`. It requires Python 3.10 run. If you want to format Jupyter Notebooks, install with `pip install "black[jupyter]"`. +If you want to run _Black_ without installing Python, download one of the +PyInstaller-built standalone executables from the +[latest GitHub release](https://github.com/psf/black/releases/latest). + ### Usage To get started right away with sensible defaults: diff --git a/docs/getting_started.md b/docs/getting_started.md index 5db12c9adf1..5c80b6f7fa6 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -29,6 +29,10 @@ If you want to format Jupyter Notebooks, install with `pip install "black[jupyte See the [Jupyter Notebooks guide](./guides/using_black_with_jupyter_notebooks.md) for more details. +If you want to run _Black_ without installing Python, download one of the +PyInstaller-built standalone executables from the +[latest GitHub release](https://github.com/psf/black/releases/latest). + If you can't wait for the latest _hotness_ and want to install from GitHub, use: `pip install git+https://github.com/psf/black`