diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml
index e3dace1ee..07600d6e3 100644
--- a/.github/workflows/mypy.yml
+++ b/.github/workflows/mypy.yml
@@ -13,7 +13,7 @@ jobs:
       - run: |
           pip install -U \
             black \
-            git+https://github.com/akaihola/darkgraylib.git@cmdline-fail-exit-code-3 \
+            git+https://github.com/akaihola/darkgraylib.git@main \
             flynt \
             git+https://github.com/akaihola/graylint.git@main \
             isort \
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml
index d80f64a04..1812ad969 100644
--- a/.github/workflows/pylint.yml
+++ b/.github/workflows/pylint.yml
@@ -14,7 +14,7 @@ jobs:
         run: |
           pip install -U \
             black \
-            git+https://github.com/akaihola/darkgraylib.git@cmdline-fail-exit-code-3 \
+            git+https://github.com/akaihola/darkgraylib.git@main \
             defusedxml \
             git+https://github.com/akaihola/graylint.git@main \
             pip-requirements-parser \
diff --git a/constraints-oldest.txt b/constraints-oldest.txt
index 809d1be93..d5699f1d7 100644
--- a/constraints-oldest.txt
+++ b/constraints-oldest.txt
@@ -4,7 +4,7 @@
 # interpreter and Python ependencies. Keep this up-to-date with minimum
 # versions in `setup.cfg`.
 black==22.3.0
-darkgraylib @ git+https://github.com/akaihola/darkgraylib@cmdline-fail-exit-code-3
+darkgraylib==2.0.0
 defusedxml==0.7.1
 flake8-2020==1.6.1
 flake8-bugbear==22.1.11
diff --git a/setup.cfg b/setup.cfg
index f9555becc..72159a1c7 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,7 +29,7 @@ packages = find:
 install_requires =
     # NOTE: remember to keep `constraints-oldest.txt` in sync with these
     black>=22.3.0
-    darkgraylib @ git+https://github.com/akaihola/darkgraylib@cmdline-fail-exit-code-3
+    darkgraylib~=2.0.0
     graylint~=1.1.2
     toml>=0.10.0
 # NOTE: remember to keep `.github/workflows/python-package.yml` in sync