with wget

wget https://files.magerun.net/n98-magerun.phar
chmod +x ./n98-magerun.phar

with curl

curl -sS -O https://files.magerun.net/n98-magerun.phar
chmod +x ./n98-magerun.phar

with wget

wget https://files.magerun.net/n98-magerun2.phar
chmod +x ./n98-magerun2.phar

with curl

curl -sS -O https://files.magerun.net/n98-magerun2.phar
chmod +x ./n98-magerun2.phar

Latest Version

n98-magerun-latest.phar SHA256: b3e09dafccd4dd505a073c4e8789d78ea3def893cfc475a214e1154bff3aa8e4
GPG Signature: n98-magerun-latest.phar.asc
2023-09-01 22:02 Magento 1
n98-magerun2-latest.phar SHA256: 4a326aaa1afd8153c38bb30d6c1199973ad74c15b30bce30ac94d368ef003bc7
GPG Signature: n98-magerun2-latest.phar.asc
2025-04-28 17:41 Magento 2

Development Versions

n98-magerun-dev.phar SHA256: 9bddba3e86baccb14e3642e238b77d0b3a43d30fbeb58af3fd7e06edb6b29062
GPG Signature: n98-magerun-dev.phar.asc
2025-05-07 00:56 Magento 1
n98-magerun2-dev.phar SHA256: 718180fb06ad1ff303f4b304da9c78437ec0d25ec89f21970a4dcf5001afceb2
GPG Signature: n98-magerun2-dev.phar.asc
2025-05-07 15:35 Magento 2

Compatiblity List

Use latest version of n98-magerun2 for Adobe Commerce / Magento Open Source 2.4.7, 2.4.6, 2.4.5 and Mage-OS 1.0.6
n98-magerun2 - Last Magento 2.4.4 and PHP 7.4 compatible version v7.5.0
n98-magerun2 - Last PHP 7.3 compatible version v6.1.1
n98-magerun2 - Last Magento 2.3.x compatible version v5.2.0
n98-magerun2 - Last PHP 7.2 compatible version v4.7.0
n98-magerun2 - Last Magento 2.2.x compatible version v3.2.0
n98-magerun2 - Last Magento 2.1.x compatible version v3.2.0
n98-magerun2 - Last Magento 2.0.x compatible version v2.2.3
n98-magerun1 - Last PHP <7.2 compatible version v1.103.2

Old Versions

List of all old .phar files for download