Install via homebrew.

This the recommended approach.
If you’re on MacOS or Linux, the easiest way to install vacuum is via homebrew.

brew install

Install via NPM

npm install

Install via yarn

yarn global add

Install via curl

This is perhaps the most simple for CD/CD pipelines.

curl install

Install via Docker.

vacuum is available as a container, pull the image from Docker Hub.

docker pull

To run via docker, add dshanley/vacuum as the docker command, like so:

docker dshanley/vacuum lint

Checkout from source.

git clone Then change directory into vacuum

change directory

Build the code.

go build

Run the code.

vacuum lint

Next Steps

Read more about the linting command.


Check out vacuum on GitHub