hadolint install guide

Get hadolint on macOS and Linux Now!

Dockerfile linter, validate inline bash, written in Haskell

hadolint one-command setup card, developer tool, for macOS and Linux, 12k stars on the project's repository
★ 12k stars macOS and Linux

Get hadolint with one command

Pick your system, reveal the step-by-step guide, copy the command, paste it into your terminal and press Enter. This command comes from the project's public source.

PowerShell not published

What hadolint does

  • Note on dealing with variables in labels
  • Rules with the prefix are from ShellCheck (only the most
  • Recompile Hadolint and run the tests
  • Building against custom libraries
  • Make your modifications to language-docker
  • In the Hadolint repo, edit the file, such that the

Summarised from hadolint's own documentation.

About hadolint

Dockerfile linter, validate inline bash, written in Haskell

CategoryDeveloper tool
Install methodHomebrew
Windowsno install command published
macOS / Linuxdocumented install command available
PriceFree and open source
Command verifiedFrom project source
Popularity12k stars on the project's public repository

On mobile

hadolint is a command-line tool, so there is no phone app for it — a phone has no shell to run it in. You'll need a desktop, or a remote shell into a machine that has one.

hadolint is developed by its own authors. This page is an independent reference; we are not affiliated with or sponsored by the project. The command shown here was reproduced from the project's public documentation — always check the project's own documentation before running anything.