In this paper, we introduce an all-fiber dual-comb spectrometer based on an original design of a highly nonlinear fiber to efficiently convert frequency combs in the near-infrared from 1.55 μm to around 2 μm. We show that our spectrometer can be used to measure the absorption profiles of rovibrational transitions of CO 2 and N 2 O molecules, especially their collisional selfbroadening coefficients. The results show very good agreement with the HITRAN database, and thus, further measurements have been performed on a mixture of CO 2 /N 2 O to measure the broadening of the CO 2 absorption lines resulting from the presence of N 2 O.