Hyperspectral imaging is a key characterization technique used in various areas of science and technology. Almost all implementations of hyperspectral imagers rely on bulky optics including spectral filters and moving or tunable elements. Here, we propose and demonstrate a line-scanning folded metasurface hyperspectral imager (HSI) that is fabricated in a single lithographic step on a 1 mm thick glass substrate. The HSI is composed of four metasurfaces, three reflective and one transmissive, that are designed to collectively disperse and focus light of different wavelengths and incident angles on a focal plane parallel to the glass substrate. With a total volume of 8.5 mm^3, the HSI has spectral and angular resolutions of ∼1.5 nm and 0.075°, over the 750–850 nm and −15° to +15° degree ranges, respectively. Being compact, light weight, and easy to fabricate and integrate with image sensors and electronics, the metasurface HSI opens up new opportunities for utilizing hyperspectral imaging where strict volume and weight constraints exist. In addition, the demonstrated HSI exemplifies the utilization of metasurfaces as high-performance diffractive optical elements for implementation of advanced optical systems