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 20:02 UTC Magento 1
n98-magerun2-latest.phar SHA256: 4a326aaa1afd8153c38bb30d6c1199973ad74c15b30bce30ac94d368ef003bc7
GPG Signature: n98-magerun2-latest.phar.asc
2025-04-28 15:41 UTC Magento 2

Development Versions

n98-magerun-dev.phar SHA256: fe8e0bb0c31c9e9f084f01e85362039c7b81a80b72bbef93dbb2385b82ddfe16
GPG Signature: n98-magerun-dev.phar.asc
2025-05-29 10:22 UTC Magento 1
n98-magerun2-dev.phar SHA256: 87832c4c720f60bfce578003f48a893569dd3cb6c4d4b2da7c740e228739d7a5
GPG Signature: n98-magerun2-dev.phar.asc
2025-06-11 09:10 UTC 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