
We measure the expansion rate of the Universe at redshift $z = 2.3$ from the anisotropy of Lyman-$\alpha$ (Ly$\alpha$) forest correlations measured by the Sloan Digital Sky Survey (SDSS). Our result is the most precise large-scale structure measurement at $z > 1$. In a flat $\Lambda$CDM model, we determine the matter density to be $\Omega_m = 0.36^{+0.03}_{-0.04}$ from Ly$\alpha$ data alone, a factor of two tighter than baryon acoustic oscillation constraints obtained from the same data set. Using a nucleosynthesis prior, we measure the Hubble constant to be $H_0 = 63.2 \pm 2.5,\mathrm{km,s^{-1},Mpc^{-1}}$. In combination with other SDSS tracers, we find $H_0 = 67.2 \pm 0.9,\mathrm{km,s^{-1},Mpc^{-1}}$ and measure the dark energy equation-of-state parameter to be $w = -0.90 \pm 0.12$. This work opens a new avenue for constraining cosmology at high redshift.