We present a dual scanning tunneling microscope (DSTM) system operating between 2.2 K and room temperature, in a split-coil superconducting magnetic field up to 12 T and in ultrahigh vacuum. The DSTM consists of two compact STMs, each having x, y, and z coarse positioning piezoelectric steppers with embedded capacitive positioning sensor for navigation. Each STM can be operated independently and can achieve atomic resolution. The DSTM and the sample is configured in a way that allows the magnetic field orientation to be varied continuously from normal to parallel to the sample surface. Together with the sample, the DSTM can form a nanometer scale three terminal setup for transport measurement.