The latest version (3.5) of nFITSview for Windows 64-bit to download:
The latest version (3.5) of nFITSview for Linux 64-bit (Debian-based) to download:
The dependencies for installing in Linux are:
llibboost-iostreams1.83.0 (>= 1.83.0) 
libc6 (>= 2.34)
libgcc-s1 (>= 3.0) 
libgomp1 (>= 4.9) 
libpng16-16t64 (>= 1.6.2) 
libqt6core6t64 (>= 6.6.0) 
libqt6gui6 (>= 6.1.2) 
libqt6network6 (>= 6.1.2) 
libqt6widgets6 (>= 6.1.2) 
libstdc++6 (>= 14)
nFITSview - A user-friendly FITS image viewer
Currently nFITSview supports the following formats and features:
Command line exporting of FITS file (see -h, -e command line switches)
Note: the console output is not visible on Windows platform. The command line supports image exporting only in “Original” mapping mode.
The original development of nFITSview is done under Linux, so the easiest and the fastest way to build is under Linux.
It should be also possible to build using CMake from the command line. Run the following cmake commands:
  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE="-O3 -DNDEBUG" -B build -S .
  
  cmake --build build
The nfitsview execuatble will be located in the build directory.
Normally there is no need to build under Windows as the install package is provided. Anyway, for building under Windows one would need to download/install/build all the dependencies (boost, zlib, libpng), then fix the corresponding pathes for the libraries in the CMakeLists.txt file and then build the project using Qt Creator.
The details about FITS format and standards can be found here: