A lightweight and fast CLI tool to deploy EAR/WAR artifacts to JBoss or Wildfly.
- Fast Build: Automatic project building — supports Gradle and Maven (auto-detects and uses
gradlew/mvnwwrappers). - Smart Deployment: Direct deployment to
standalone/deploymentswith real-time validation polling. - Modern UI: Interactive TUI with semantic logging.
- Persistent Preferences: Remembers your last server, debug port, JVM memory profile, and startup mode between sessions.
- Configurable Debug: Choose your JVM debug port dynamically.
- Dynamic JVM Memory: Assign pre-configured JVM memory capacities independently for each server.
- Seamless Workflow: Automatic server startup after deployment and loop-based interface to keep you in the flow.
- Bun (Recommended for development) or Node.js v24+ (For distribution)
- Gradle or Maven (or project wrappers
gradlew/mvnw) - JBoss/Wildfly configured locally
Run the tool instantly using npx:
npx jbdeploynpm install -g jbdeploy
# or
bun add -g jbdeployIf you want to contribute or build the latest version from source:
- Clone the repository and install dependencies:
bun install- Build the project:
bun run build- Enable global linking:
bun run local:linkNow you can use jbdeploy from any terminal.
- Core: Built with TypeScript and optimized for Bun's high-speed runtime during development.
- Distribution: Compiles with
tsupinto a single, specialized ESM bundle (dist/index.js) with a Node.js shebang, ensuring seamless usage in any Node environment.
Run the CLI from any project you want to deploy:
jbdeploy- Server Selection: Choose a saved server or add a new one.
- Action: Choose between
build + copy + deploy,copy + deploy, orstart server only. - Build (if applicable): Gradle or Maven is auto-detected.
- Server Mode: If the server is stopped, choose Normal or Debug mode. Your last choice is remembered.
- Auto-Start: After a successful deployment with the server stopped, the CLI starts it automatically.
- Looping: After each action, the CLI returns to the main menu automatically.
All preferences, registered JBoss servers, JVM memory profiles, and debug ports are safely saved locally at:
~/.jbdeploy/config.jsonjbdeploy --helpThis project is licensed under the MIT License. See the LICENSE file for details.