A compact grazing-incidence spectrometer has been implemented on the National Spherical Torus Experiment (NSTX) for spectral measurements in the 6-65Å spectral region. The spectrometer employed a 2400 /mm grating designed for flat-field focusing and a cryogenically cooled CCD camera for readout. The instrument was tested by recording the K-shell lines of boron, carbon, nitrogen, and oxygen, as well the L-shell lines from argon, iron, and nickel that fall into this spectral band. The observed line width was about 0.1Å, which corresponds to a resolving power of 400 for the C V lines. A temporal resolution as fast as 50 ms was obtained.