Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Linter

The CLI has 1st-party support for bevy_lint, the static analysis tool that checks over your code.

bevy lint

If you do not have the linter installed already, the CLI can install it for you by running bevy lint install. Calling the lint subcommand is equivalent to calling bevy_lint, and supports the same arguments as cargo check:

bevy lint --workspace --all-features

You can view a full list of options with:

bevy lint -- --help