To install WordPress on a VirtualBox VM, first set up a web server environment (like LAMP stack) on your VM. Then, download and configure WordPress by following the installation instructions provided by the WordPress website.