Skip to content
PluginStats

prettier-plugin-sh weekly downloads statistics

By un-ts (5 listings) · npm · Prettier plugins

An opinionated `shellscript` formatter plugin for Prettier, also support simple format of `Dockerfile`, `properties`, `gitignore`, `dotenv`, `hosts`, `jvmoptions`...

View on npm Fresh · Oct 17, 2026

prettier-plugin-sh has 155,620 recorded weekly downloads on npm, a decrease of 58.5% over the past 30 days.

It ranks #400 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -59.1%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
155,620
Official API · Oct 17, 2026
7-day growth
-59.2%
-226K weekly downloads
30-day growth
-58.5%
-219.3K weekly downloads
90-day growth
-59.1%
-224.7K weekly downloads
Rank
#400
Among tracked npm listings

About prettier-plugin-sh

prettier-plugin-sh

An opinionated shellscript formatter plugin for [Prettier][], also support simple format of Dockerfile, properties, gitignore, dotenv, hosts, jvmoptions...

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing, taking various rules into account.

This plugin adds support for various file formats through [mvdan-sh][] via [sh-syntax][] and [dockerfmt][].

Notice

This plugin is still under development, its printer just wraps [mvdan-sh][]'s default printer with powered by [sh-syntax][]. Of course it should just work, but may not match [prettier][]'s format sometimes.

[!WARNING]

ignore files are not officially supported by [mvdan-sh][] what means only basic and simple ignore usage cases can be handled correctly. We cannot do much on our side. See also .

Requirements

prettier-plugin-sh is an evergreen module. 🌲 This module requires an LTS Node version (v16.0.0+).

Install

Using npm:

Usage

Once installed, Prettier plugins must be added to .prettierrc:

Then:

Parser Options

More details on godoc

Sponsors and Backers

Sponsors

| 1stG | RxTS | UnTS |

| | | |

Backers

| 1stG | RxTS | UnTS |

| | | |

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

[MIT][] © [JounQin][]@[1stG.me][]

Description from the npm listing.

  • dockerfile
  • ini
  • properties
  • sh
  • shell
  • shellscript
  • plugin
  • prettier
  • prettier-plugin

Where prettier-plugin-sh sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 20, #20 (overall #400)
All npm: every listing in weekly downloads order
PNG SVG
Prettier plugins241 listings · 13 pages · page 1, #4 (overall #4)
Prettier plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

prettier-plugin-sh weekly downloads on npm, last 90 days: 155,620 weekly downloads as of Oct 17, 2026, -59.1% over 90 days.prettier-plugin-shWeekly downloads on npm · Last 90 days155,620downloads / week-59.1% over 90 days0100K200K300K400K500K600KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
prettier-plugin-sh weekly downloads on npm, last 90 days: 155,620 weekly downloads as of Oct 17, 2026, -59.1% over 90 days.
PNG SVG

7/30/90-day growth

prettier-plugin-sh weekly downloads growth on npm: -59.2% over 7 days, -58.5% over 30 days, -59.1% over 90 days.prettier-plugin-shWeekly downloads growth on npm155,620downloads / week now7-day growth-226,019 weekly downloads-59.2%30-day growth-219,345 weekly downloads-58.5%90-day growth-224,653 weekly downloads-59.1%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-sh weekly downloads growth on npm: -59.2% over 7 days, -58.5% over 30 days, -59.1% over 90 days.
PNG SVG

Ranking history

prettier-plugin-sh npm ranking history: currently #400 (by weekly downloads).prettier-plugin-shnpm ranking · by weekly downloads · Last 90 days#400current rank#398#399#400#401#402Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-sh npm ranking history: currently #400 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for prettier-plugin-sh
Date (UTC)Weekly downloadsChange vs. previous
155,620-31.6K
187,198-7.6K
194,805-83.3K
278,082-85.9K
364,0220
364,022-12.9K
376,940-4.7K
381,639+938
380,701-3K
383,704+2.8K
380,909-4.8K
385,723-97.5K
483,241-6.3K
489,567—

Similar npm Prettier plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/prettier-plugin-sh. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.