Wiki

If you use doas run:

doas cp /usr/bin/doas /usr/bin/sudo

To install vm-mgr & VM packages run:

curl -s https://raw.githubusercontent.com/j0shua-daniel/vm-mgr/refs/heads/main/setup | bash

Distros supported by the installer:

  1. Debian/Debian based.
  2. Arch/Arch based.
  3. OpenSUSE.
  4. RHEL/Fedora/RHEL based.
  5. Alpine.
  6. Void.
  7. Nixos (comming soon!)
  8. Gentoo (comming soon!)
  9. Solus (comming soon!)
  10. Slackware (comming soon!)
  11. Clear Linux.
  12. Fedora Silverblue (inside fedora toolbox).

If your distro is not supported by the installer please refer to the wiki.

Usage: Link to heading

Run vm-mgr inside your terminal.

1) Start a VM
2) Create a VM
3) Delete a VM
4) Help
5) Quit
Option: 

Type 2 to start creating your first vm-mgr vm!

All VM disks are stored in ~/.config/vm-mgr/

Install VM packages: Link to heading

Alpine:

doas apk add libvirt-daemon qemu-img qemu-system-x86_64 qemu-modules openrc bash
doas rc-update add libvirtd
doas service libvirtd start
doas modprobe tun
su
echo "tun" >> /etc/modules-load.d/tun.conf
cat /etc/modules | grep tun || echo tun >> /etc/modules
exit
doas addgroup $USER libvirt
doas  rc-update add libvirt-guests
doas service libvirt-guests start

NixOS(NOT TESTED):

ADD USER TO “libvirtd” group in /etc/nixos/configuration.nix

#in /etc/nixos/configuration.nix
virtualisation.libvirtd = {
  enable = true;
  qemu = {
    package = pkgs.qemu_kvm;
    runAsRoot = true;
    swtpm.enable = true;
    ovmf = {
      enable = true;
      packages = [(pkgs.OVMF.override {
        secureBoot = true;
        tpmSupport = true;
      }).fd];
    };
  };
};

Gentoo(NOT TESTED):

Please look at the wiki

sudo emerge --ask app-emulation/qemu

Slackware(NOT TESTESD):

Read and follow instructions.

Freebsd:

NOT SUPPORTED

NetBSD:

NOT SUPPORTED