apt install locales
Then run:
dpkg-reconfigure locales
Select zh_CH.UTF-8 UTF-8
Then add to the environment variable
export LANG=zh_CN.UTF-8
https://blog.csdn.net/lc11535/article/details/103830924