ShellCheck: Shell script analysis tool

[ agpl, gpl, library, program, static-analysis ] [ Propose Tags ]

The goals of ShellCheck are:

  • To point out and clarify typical beginner's syntax issues, that causes a shell to give cryptic error messages.

  • To point out and clarify typical intermediate level semantic problems, that causes a shell to behave strangely and counter-intuitively.

  • To point out subtle caveats, corner cases and pitfalls, that may cause an advanced user's otherwise working script to fail under future circumstances.


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Versions [RSS] 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0 (info)
Dependencies base (>=4 && <4.7), containers, directory, json, mtl, parsec, regex-compat, ShellCheck [details]
License LicenseRef-OtherLicense
Author Vidar Holen
Revised Revision 1 made by vidarhol at 2022-05-20T22:58:44Z
Category Static Analysis
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by vidarhol at 2014-05-30T04:23:13Z
Distributions Arch:0.8.0, Debian:0.8.0, Fedora:0.7.2, FreeBSD:0.3.8, LTSHaskell:0.8.0, NixOS:0.8.0, Stackage:0.8.0, openSUSE:0.8.0
Executables shellcheck
Downloads 44750 total (123 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]