Version

The #version extended command displays information about your version of NetHack. Along with the version number, useful information about the set compile-time options and available windowing systems are shown. Certain things can be compiled in or out of the game; #version will show a list of all options compiled in. Whether you can't remember if you are allowed to play the Tourist role or if the Keystone Kops may appear when shoplifting, the information appears here. Within the options compiled in is a range of versions that save and bones files from the current version will be compatible with.

Supported windowing systems are shown. #version, for example, informs if the tty and graphical tiled systems are available.