In elixir, How do i install packages globally?
问题 Can I use mix to install some packages globally? I'd like a behaviour like npm 's global option or gem 's install - it could be useful for packages I use everywhere like csv or yaml . 回答1: There is no such thing in Elixir, you always use dependencies in the context of a project. Solutions like archives or escripts are meant to solve specific problems, they do not allow package sharing between projects. However, there is no need to worry about sharing frequently used packages. Hex, the package