Generates virtual servers for virtualmin

Usage no npm install needed!

<script type="module">
  import generatorVirtualmin from '';


generator-virtualmin NPM version Build Status Dependency Status


This Yeoman generator will connect to your private server via SSH based on credentials given. It will then setup a new virtual server with the credentials you specify. Setting up SSH is optional. If you select YES(default), it will use let's encrypt to apply your SSL. (Domain must be pointing to the virtual server). The following will also be setup:

  • Home Directory for files
  • Website
  • Unix user (Same as user input)
  • FTP (Same as user input)
  • MySQL Database (Auto generated for security) This will be changed in an upcoming release.


First, install Yeoman and generator-virtualmin using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-virtualmin

Setup your virtual server:

yo virtualmin


Apache-2.0 © Steve