通过 npm 方式安装可能失败(jcenter失效),手动安装:
curl -L -o elm.gz https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz gunzip elm.gz chmod +x elm mv elm /usr/local/bin/ rm /usr/local/bin/elm rm -r ~/.elm/
[](https://github.com/elm/compiler/)