macOS
brew install bytemanlocal Homebrew formula metadata
brew
Java bytecode manipulation tool for testing, monitoring and tracing. Version 4.0.27 via Homebrew; verified 2026-06-22.
install
brew install bytemanlocal Homebrew formula metadata
sudo apt install libbyteman-javaDebian stable package indexes · libbyteman-java · source: deb.debian.org
sudo dnf install bytemanFedora Rawhide package metadata · byteman · source: dl.fedoraproject.org
overview
Java bytecode manipulation tool for testing, monitoring and tracing
history
Byteman is a Java agent and command-line toolkit for injecting rules into running JVM programs. It is used for tracing, monitoring, testing, and fault injection without permanently changing application source code.
The Byteman README describes the project as a tool for injecting side effects into Java programs to trace and test application behavior. Its distribution includes command scripts, an agent and rule engine, submit/install clients, sample scripts, and programmer documentation.
The official JBoss project site frames Byteman as a way to simplify Java tracing, monitoring, and testing. Its documentation history includes papers and talks by Andrew Dinn and other Red Hat/JBoss community members from 2009 onward, including fault-injection and runtime-behavior use cases.
Byteman adoption is strongest in the Java middleware and testing world. The official docs page lists BMUnit tests or integrations involving WildFly, Narayana, Hibernate, Infinispan, HornetQ, JGroups, IronJacamar, Mule, and other JVM projects.
Packaging in Homebrew, Debian, Ubuntu, and Fedora reflects a niche but durable role: it is not a default Java tool, but it is valuable when tests need controlled failure, race, or runtime instrumentation scenarios.
Users write Byteman rule scripts, check them with `bmcheck` or `bytemancheck`, run Java under the agent with `bmjava`, install the agent into a running JVM with `bminstall`, and submit rules with `bmsubmit`.
Typical package-manager usage is by developers or QA engineers who need to reproduce timing bugs, inject exceptions, trace JVM internals, or test recovery paths in Java services.
Byteman is notable because it packages JVM bytecode instrumentation as a Unix-style command tool. That makes heavy Java-agent machinery installable with `brew install byteman` or distro packages instead of manual download-and-unzip workflows.
For package nerds, it sits in the same practical family as debuggers, tracers, and test harnesses: rarely needed by everyone, but exactly the right sharp tool when ordinary unit tests cannot reach a runtime behavior.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bmcheck | cli | global executable | |
bminstall | cli | global executable | |
bmjava | cli | global executable | |
bmsubmit | cli | global executable | |
bytemancheck | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:byteman |
|---|---|
| Version | 4.0.27 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/byteman |
| Homepage | https://byteman.jboss.org/ |
| Repository | https://github.com/bytemanproject/byteman |
| Upstream docs | https://byteman.jboss.org/docs.html |
| License | LGPL-2.1-or-later |
| Source archive | https://downloads.jboss.org/byteman/4.0.27/byteman-download-4.0.27-bin.zip |
| Last updated | 2026-06-22T14:02:56-07:00 |
| Pulse | updated |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | byteman |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libbyteman-java 4.0.20-1
Java agent-based bytecode injection tool
sudo apt install libbyteman-javalibbyteman-java 4.0.20-1
Java agent-based bytecode injection tool
sudo apt install libbyteman-javabyteman 4.0.26-3.fc44
Java agent-based bytecode injection tool
sudo dnf install bytemanbyteman-bmunit 4.0.26-3.fc44
TestNG and JUnit integration for Byteman.
sudo dnf install byteman-bmunitbyteman-dtest 4.0.26-3.fc44
Remote byteman instrumented testing.
sudo dnf install byteman-dtestbyteman-javadoc 4.0.26-3.fc44
Javadoc for byteman
sudo dnf install byteman-javadocbyteman-rulecheck-maven-plugin 4.0.26-3.fc44
Maven plugin for checking Byteman rules.
sudo dnf install byteman-rulecheck-maven-pluginsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.