# bevyengine/bevy

> Bevy is a game engine written in Rust for building 2D and 3D games. Developers organize their code around a data-driven design based on the Entity Component System paradigm, building an App, adding plugins to it and calling run. Its main language is Rust.

Source: https://github.com/bevyengine/bevy
Indexed: commit 46479b9 on 2026-11-18 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: Library
- Language: Rust
- Stars: 49,941 at index time
- License: Apache-2.0
- Code health: 7.5/10, Good
- Last commit: 2026-11-18
- Contributors: 1,694

## Install

From the README: https://github.com/bevyengine/bevy#getting-started

Clone the bevy repository.
    git clone https://github.com/bevyengine/bevy.git

Move into the bevy folder.
    cd bevy

Switch to the latest release of the repository instead of the default main development branch.
    git checkout latest

Run the breakout example from the cloned repository.
    cargo run --example breakout

## How it works

Bevy's engine features are split into small separate packages under the crates directory, covering areas such as cameras, transforms, visibility, sprites, input focus, logging and the remote inspector. Application code starts from the public library entry point in src/lib.rs, which provides the App type. A program creates an App, adds plugins such as DefaultPlugins and calls run to start the engine. The examples directory holds runnable example programs, and the tools directory holds helper programs used for examples, documentation, generated assets and tests. The benches directory contains Criterion benchmarks that time the engine crates, and the .github directory holds configuration for how the examples are run in CI-like environments.

- benches/benches/bevy_camera/main.rs: entry point
- benches/benches/bevy_ecs/main.rs: entry point
- benches/benches/bevy_math/main.rs: entry point
- benches/benches/bevy_picking/main.rs: entry point
- benches/benches/bevy_platform/main.rs: entry point
Modules: crates, examples, benches, tools, tests, .github, errors, src. 2,352 files, 515,676 lines, 53,338 symbols.

## Code health

- Score: 7.5/10 (Good)
- Trend: 6.8 on 2026-10-21, 7.0 on 2026-11-04, 7.5 on 2026-11-18
- Rank: #114 of 265 ranked repos
- Hotspots: crates/bevy_feathers/src/controls/number_input.rs, crates/bevy_inspector/src/details_panel.rs, crates/bevy_scene/src/lib.rs, crates/bevy_ui/src/layout/mod.rs, crates/bevy_pbr/src/render/light.rs
- Lowest file: crates/bevy_pbr/src/prepass/mod.rs
- Dead code: 8 findings

## Maintenance

- Last commit 2026-11-18, first commit 2019-11-13, 12,576 commits
- 1,694 contributors, bus factor 14

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/bevyengine/bevy/security

## More

- Page: https://repowise.dev/repo/bevyengine/bevy
- Ask this codebase: https://repowise.dev/repo/bevyengine/bevy/chat
- Docs: https://repowise.dev/repo/bevyengine/bevy/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/bevyengine/bevy
