1# Testing the Installer {#ch-testing-installer}
2
3Building, burning, and booting from an installation CD is rather
4tedious, so here is a quick way to see if the installer works properly:
5
6```ShellSession
7# mount -t tmpfs none /mnt
8# nixos-generate-config --root /mnt
9$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-install
10# ./result/bin/nixos-install
11```
12
13To start a login shell in the new NixOS installation in `/mnt`:
14
15```ShellSession
16$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-enter
17# ./result/bin/nixos-enter
18```