Xv6 is developed for teaching operating systems course at MIT. It is a re-implementation of Dennis Ritchie's and Ken Thompson's Unix Version 6 (v6). In this page, It will be introduced the simple steps of installing and use of Xv6.


Xv6 version 11 book is available. You can download it from here.


Use following Commands to compile and build Xv6.

git clone git://
cd xv6-public

Also, you need to install a hypervisor like Virtualbox or VMWare. However, It is recommended to install Qemu.

sudo apt install qemu
make qemu

*Note: be sure you are in the directory of cloned repository. [~/your/local/dir/xv6-public$]