Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Cat

Reproduce any Minecraft server from a single config file

Report mcenv?

mcenv

Reproduce any Minecraft server from a single config file — mods, plugins, configs, server.properties — and share it with anyone.

Install

Linux:
curl -fsSL https://github.com/meloncatting/mcenv/releases/latest/download/mcenv-linux -o mcenv                                                                                                                                                              
chmod +x mcenv && sudo mv mcenv /usr/local/bin/mcenv                                                                                                                                                                                                        
                                                                                                                                                                                                                                                            
macOS:                                                                                                                                                                                                                                                      
curl -fsSL https://github.com/meloncatting/mcenv/releases/latest/download/mcenv-macos -o mcenv                                                                                                                                                              
chmod +x mcenv && sudo mv mcenv /usr/local/bin/mcenv                                                                                                                                                                                                        
                                                                                                                                                                                                                                                            
Windows: Download mcenv-win.exe from Releases in https://github.com/meloncatting/mcenv/releases/latest/, rename to mcenv.exe, move to C:\Windows\System32\                                                                                                                                                            
                                                                                                                                                                                                                                                            
Usage                                                     
                                                                                                                                                                                                                                                            
# Export an existing server                               
mcenv init ./my-server -o ./my-config
                                                                                                                                                                                                                                                            
# Reproduce it anywhere
cd my-config && mcenv install                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                            
# Share it — no jars included, everything downloads automatically                                                                                                                                                                                           
zip -r my-server.zip my-config/                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                            
Commands                                                  
                                                                                                                                                                                                                                                            
┌─────────────────────────┬────────────────────────────────────────────┐
│         Command         │                What it does                │
├─────────────────────────┼────────────────────────────────────────────┤                                                                                                                                                                                    
│ mcenv init [server-dir] │ Scan existing server → generate config     │
├─────────────────────────┼────────────────────────────────────────────┤                                                                                                                                                                                    
│ mcenv install           │ Download all mods/plugins and install      │                                                                                                                                                                                    
├─────────────────────────┼────────────────────────────────────────────┤                                                                                                                                                                                    
│ mcenv update            │ Re-resolve versions and reinstall          │                                                                                                                                                                                    
├─────────────────────────┼────────────────────────────────────────────┤                                                                                                                                                                                    
│ mcenv list              │ Show pinned versions and SHA-256 hashes    │
├─────────────────────────┼────────────────────────────────────────────┤                                                                                                                                                                                    
│ mcenv validate          │ Check config for errors, no network needed │
├─────────────────────────┼────────────────────────────────────────────┤                                                                                                                                                                                    
│ mcenv clean             │ Delete server directory, keep cache        │
├─────────────────────────┼────────────────────────────────────────────┤                                                                                                                                                                                    
│ mcenv dockerize         │ Generate Dockerfile + docker-compose.yml   │
└─────────────────────────┴────────────────────────────────────────────┘                                                                                                                                                                                    
                                                          
Supported                                                                                                                                                                                                                                                   
                                                          
Loaders: Vanilla · Paper · Fabric · Forge · NeoForge · Quilt                                                                                                                                                                                                

Mod sources: Modrinth · Direct URL · Local file                                                                                                                                                                                                             

Information

CategoryDeveloper Tools
Published onApril 19, 2026
LicenseAll Rights Reserved
Download1
Stars1
Watchers1

Pinned Versions

Members

Avatar for Cat

Cat

Owner