A CLI tool to help you initialize Spring Boot projects interactively using spring init
, enhanced with fuzzy selection (fzf
) and cross-platform support.
- β Detects your operating system (Linux, macOS, or Windows via WSL/Git Bash)
- β Installs fzf automatically if not available (on supported systems)
- β
Downloads and installs the
spring-init.sh
script from GitHub - β
Adds it to your
PATH
automatically - β
Launches via the
spring-init
command - π Designed for quick project scaffolding with Spring Initializr
Paste this in your terminal:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/melhalees/spring-init/master/install.sh)"
source ~/.bashrc # or ~/.zshrc depending on your shell
After installation, simply run:
spring-init
You'll be guided through project creation steps, and you can fuzzy-search for dependencies (planned feature).
OS | Status | Notes |
---|---|---|
Linux | β Supported | Installs fzf automatically via apt if available |
macOS | β Supported | Installs fzf automatically via brew |
Windows | Works via WSL or Git Bash (manual fzf install may be needed) |
The CLI tool will be installed to:
~/.local/bin/spring-init
MIT License Β© 2025 Mohamed Elhalees
Have ideas for better prompts, features, or integration with more tools?
PRs and issues are welcome β feel free to contribute!