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, startup mode, and last deployment flow between sessions.
- Smarter Defaults: Recommends the most relevant artifact using your last deployment and recent build output.
- Configurable Debug: Choose your JVM debug port dynamically.
- Dynamic JVM Memory: Assign pre-configured JVM memory capacities independently for each server.
- Seamless Workflow: Repeat the last project flow with one explicit action, edit saved servers quickly, and stay in a persistent loop-based interface.
- Node.js v20+
- Gradle or Maven (or project wrappers
gradlew/mvnw) - JBoss/Wildfly configured locally
npx jbdeploynpm install -g jbdeploy- Clone the repository and install dependencies:
npm install- Build and enable global linking:
npm run build
npm linkNow you can use jbdeploy from any terminal.
- Run in watch mode during development:
npm run dev- Return to the published global package when you finish local testing:
npm unlink -g jbdeploy
npm install -g jbdeploy- Core: Built with TypeScript for Node.js 20+.
- 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- Project Entry: When available, choose between
Repeat last flowor continuing manually. - Server Selection: Choose a saved server, add a new one, or edit an existing server quickly.
- Action: Choose between
Build, copy & start,Copy & start, orStart server(when the server is already running, deploy variants are shown). - Artifact Selection: If multiple artifacts are found, the CLI preselects the most relevant candidate and explains the recommendation.
- 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.
All preferences, registered JBoss servers, JVM memory profiles, debug ports, and last project deployment flow are saved locally at:
~/.jbdeploy/config.jsonjbdeploy --helpMIT