Install via Homebrew.
This is the recommended approach for macOS.
If you’re on macOS, the easiest way to install the official signed vacuum release is via the Homebrew cask.
Use the cask when you want the official macOS release binary signed by Quobix. brew install vacuum installs the Homebrew
core formula instead; that build is compiled by Homebrew from source and is not the signed upstream release binary.
On Linux, use the shell installer, NPM, Docker, or the Homebrew core formula if you explicitly want Homebrew’s source-built package.
Install via NPM
Install via yarn
Install via curl
This is perhaps the most simple for CD/CD pipelines.
Keeping vacuum up to date
vacuum will let you know when a newer stable release is available. The notice appears after normal command output, and it
will never upgrade vacuum in the middle of a linting run, or automatically.
To upgrade vacuum, run:
vacuum will use Homebrew, NPM, or the shell installer path when it can detect how it was installed. macOS users who need
the signed upstream release should use the Homebrew cask rather than the Homebrew core formula. See the
upgrade command for details on update checks and --no-update-check.
Install via Docker.
vacuum is available as a container, pull the image from Docker Hub.
To run via docker, add dshanley/vacuum as the docker command, like so:
Checkout from source.
vacuum
Build the code.
Run the code.
Next Steps
Read more about the linting command.
