Installing Vale
Install the Vale linter to begin reviewing content for style and structure.
If you are working in an established project that has already implemented Vale, you do not need to create a new |
-
Install the Asciidoctor Ruby gem.
-
If you have previously installed Vale, you can check what version you are currently running. Run the following command:
$ vale --version
Example outputvale version 3.6.1
-
Install Vale. For RHEL or Fedora Linux operating systems, run the following command:
$ sudo dnf copr enable mczernek/vale && sudo dnf install vale
On macOS, run:
$ brew install vale
-
Verify the Vale install location. You might need to update your text editor with this value.
$ which vale
Example output/usr/bin/vale
For other operating systems, see Installing Vale.
-
Install the Visual Studio Code extension for Vale, "Vale VSCode" (Important: This new extension replaces the deprecated "vale-server" extension.)