Note: Use ./configure --help to get a list of options, including the choices of architectures to target. If no options are selected, configure prepares all architectures, which is a very long process.

See the official documentation for further instructions and information.

~$ git clone git://git.qemu-project.org/qemu.git
 Cloning into 'qemu'... done.
~$ cd qemu
~/qemu$ ./configure
~/qemu$ make
~/qemu$ sudo make install