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: 6e70066783db34f4078ecf1eb3b6367533581134ca7200a67d654b7cbed2102c
GPG Signature: n98-magerun2-latest.phar.asc
2025-02-24 09:57 Magento 2

Development Versions

n98-magerun-dev.phar SHA256: a1400bd49ce36c8582604125061dd06069cea76a03fce0191946c24716ec4e44
GPG Signature: n98-magerun-dev.phar.asc
2025-03-27 01:23 Magento 1
n98-magerun2-dev.phar SHA256: d7ee004c8d86ce07c02f2878d964ad6c92ecd9c8ab0333dd9db6a22e4dcb1e8a
GPG Signature: n98-magerun2-dev.phar.asc
2025-03-26 10:08 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