Package Management - MSYS2
https://www.msys2.org/docs/package-managementInstalling a specific version of a package or a stand-alone packages Older (or pre-release) versions of packages can be installed directly from the package archive ( .tar.zst or .tar.xz ). The data store for the repositories contains older versions of packages, but beware that you might need to recursively find correct versions of dependencies for the desired package.
Downgrading packages - ArchWiki
wiki.archlinux.org › title › DowngradingUsing the pacman cache If a package was installed at an earlier stage, and the pacman cache was not cleaned, install an earlier version from /var/cache/pacman/pkg/ . This process will remove the current package and install the older version. Dependency changes will be handled, but pacman will not handle version conflicts.