Installation

Get started with Vale in just a few minutes.

In general, the recommended approach on all platforms is to use a package manager such as Chocolateyarrow-up-right (Windows), Homebrewarrow-up-right (macOS), or Snapcraftarrow-up-right (Linux).

> choco install vale

This will ensure that Vale is available on your $PATH and allow you to stay up to date with new releases.

Vale can also be found at a number of other package repositoriesarrow-up-right. These are community-maintained, so please read the package’s documentation before installing.

Archives of precompiled binariesarrow-up-right are available for Windows, macOS, and Linux. To use one of these, you’ll need to download the archive for your platform, extract it to a local directory, and (optionally) add the extracted directory to your $PATH.

Vale is available on Docker Hub at jdkato/valearrow-up-right:

$ docker pull jdkato/vale

Vale requires three components: a .vale.ini config file, a StylesPath directory (specified in the config file), and a document or directory to lint.

Here’s an example of calling Vale with locally-defined components (assuming $(pwd)/fixtures/styles/demo contains a config file):

$ docker run --rm \
             -v $(pwd)/styles:/styles \
             -v $(pwd)/fixtures/styles/demo:/docs \
             -w /docs \
             jdkato/vale .

By default, the image supports HTML, Markdown, AsciiDoc, and reStructuredText content. If you need support for DITA as well, you’ll need to add the relevant dependencies—for example,

Source
Documentation
Status