Compiler: Move ~/.elm to $XDG_DATA_HOME

Created on 24 Feb 2019  路  3Comments  路  Source: elm/compiler

The ~/.elm folder should be moved to $XDG_DATA_HOME/elm when possible.

Some notes about this motivation: https://0x46.net/thoughts/2019/02/01/dotfile-madness/

References: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Most helpful comment

For anyone else searching for this, you can set the $ELM_HOME environment variable to that path to get this behaviour.

All 3 comments

For anyone else searching for this, you can set the $ELM_HOME environment variable to that path to get this behaviour.

I have set $ELM_HOME but stuff still seems to be getting downloaded into ~/.elm

Does anyone have suggestions on how to debug this?
Was it only introduced in version 0.19?

After continued investigation, I raised this on the elm slack, where it was confirmed that ELM_HOME is not supported in 0.18, which is why I was having the issue.

Was this page helpful?
0 / 5 - 0 ratings