# netz98/n98-magerun

The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time. All commands are extendable by a module API.

Repository: https://github.com/netz98/n98-magerun
Canonical: https://ross.abutalabs.com/products/n98-magerun
Homepage: http://magerun.net/
Language: PHP
License: NOASSERTION
License Family: other
Topics: cli-app, magento, php
Archived: true
Last push: 2026-07-02T16:20:56+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 25, longevity 100
- inputs: {"age_days": 5145, "days_push": 62, "days_rel": 288, "gap_med": null, "n_releases_24m": 1}
- flags: archived, no_license, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1429, forks 401 (observed 2026-08-28T04:04:42.129556+00:00)

## What it is
n98-magerun is a PHP command-line tool billed as the swiss army knife for Magento 1 developers, sysadmins and devops, offering a large set of tested commands for tasks like database dumps, reindexing, cache flushing and system checks. Commands are extendable via a module API, though development of the Magento 1 version has been officially discontinued (OpenMage maintains a fork).

## Use cases
- dump a Magento database from the command line
- flush Magento cache and reindex data via CLI
- run Magento setup scripts incrementally
- automate Magento admin and sysadmin tasks
- extend Magento CLI with custom commands via a module API
- check Magento system configuration from the terminal

## When to choose
- you maintain a legacy Magento 1 / OpenMage store and need scripted CLI administration
- you want a battle-tested, extensible command set for Magento maintenance tasks
- you are a sysadmin automating Magento database, cache and index operations

## When to avoid
- you work with Magento 2 - use n98-magerun2 instead
- you need actively developed features or official support for the Magento 1 tool
- you need a GUI or web-based store management interface

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, developer-tools, database, configuration-management, plugin-system
- domain: developer-tools, e-commerce
- platform: cli, php, cross-platform
- tags: magento, magento1, magerun, ecommerce-cli, phar, extensible-commands, command-line, automation, devops, linux, macos

## Member repositories
- netz98/n98-magerun (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:42.129556+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:16.302172+00:00, confidence not recorded.
  - homepage: http://magerun.net/ (fetched 2026-08-29T11:48:55.413338+00:00, sha f561c06f2577)
  - site_page: https://magerun.net/tag/installation (fetched 2026-08-29T11:48:55.423962+00:00, sha 4f3390cec563)
  - site_page: https://magerun.net/tag/installer (fetched 2026-08-29T11:48:55.426803+00:00, sha 4e08fb3b7418)
- Data as of 2026-08-30T08:39:29.467469+00:00.
