A cross-platform, modular Dev Environment Backup, Restore, Testing, and Reporting framework designed to simplify developer setup across multiple machines and operating systems.
dev-env is a structured system that allows developers to:
- Backup development environments (VS Code, Node.js, Python, PHP, etc.)
- Restore environments on new machines
- Validate setups using automated tests
- Generate environment reports
- Maintain OS-specific configurations (Windows, Linux, macOS)
It works as a local dev environment manager and orchestration system.
dev-env/
│
├── dev/
│ ├── core/ # CLI orchestrator (backup/restore/test all modules)
│ ├── vscode/ # VS Code module
│ ├── nodejs/ # Node.js & npm module
│ ├── python/ # Python module
│ ├── php/ # PHP & Composer module
│ └── ... # Future modules
│
├── Reports/ # Auto-generated markdown reports
├── Testing/ # Test cases & execution results
│
├── README.md
├── LICENSE
├── .gitignore
├── DevEnv Report.pdf # Seminar / documentation report
├── DevEnv Report.docx # Report Word file
├── DevEnv Manager Presentation.pptx # Presentation file
└── .git/ # Git metadata
- Central execution engine (
dev/core) - Backup all modules at once
- Restore all modules at once
- Future CLI-based interactive control
Each tool is structured as an independent module:
- VS Code (extensions, settings, snippets, keybindings)
- Node.js (versions, global packages)
- Python (pip packages, environments)
- PHP (Composer version, Composer packages)
Each module supports:
- Windows (
.ps1) - Linux (
.sh) - macOS (
.sh)
- Saves environment state per module
- Supports merge and overwrite modes
- Preserves configuration data in
Data/
- Reinstalls extensions/packages
- Restores configurations
- Handles missing dependencies safely
- Module validation scripts
- JSON-based test definitions
- Result tracking per module
- Generates markdown reports per module
- Tracks backup/restore activity
- Maintains historical snapshots
- Windows (PowerShell)
- Linux (Bash)
- macOS (Bash / Zsh compatible)
This project follows a modular plugin architecture:
Core Engine → Modules → Data → Reports → TestsThe system is designed to be:
- Scalable
- Cross-platform
- Extensible
- Automation-friendly
Planned improvements:
- CLI tool (
dev-env) for unified commands - Module registry system
- Smart diff-based backups
- Cloud sync support
- Docker-based environment snapshots
- GUI dashboard (optional future version)
dev-env backup vscode
dev-env restore nodejs
dev-env test all
dev-env report generate
"A developer should never lose their environment setup again."
This project is built on the principle of automation, reproducibility, and portability, ensuring that a developer’s environment can be restored anytime, anywhere, with minimal effort.
Piyush Anand
- GitHub: PR2309
- LinkedIn: piyushanand30
- Email: [email protected]
Built as part of a Development Environment Manager (dev-env) framework project focused on:
- Automation of developer environments
- Reproducibility across systems
- Cross-platform compatibility
- Improved developer productivity
To use this project, first clone the repository:
git clone https://github.com/PR2309/dev-env.gitThen navigate into the project directory:
cd dev-envThis project is licensed under the MIT License.