2. Let the arithmetic sequence $\left\{a_{n}\right\}$ have the sum of the first $n$ terms $S_{n}=a_{1}+a_{2}+\cdots+a_{n}$, if $a_{1}=2022, S_{20}=22$, then the common difference $d$ is $\qquad$ .
$$
S_{20}=20 a_{1}+190 d=40440+190 d=22 \Rightarrow 190 d=-40418 \Rightarrow d=-\frac{20209}{95} .
$$
$$
S_{20}=20 a_{1}+190 d=40440+190 d=22 \Rightarrow 190 d=-40418 \Rightarrow d=-\frac{20209}{95} .
$$

Note: The original text is a mathematical equation, and its translation is identical to the original as it consists of numbers and symbols which are universal. If you intended to have a different part of the text translated, please provide the specific text.