Hi there,

I am new elixir user with Python background, I though mix is a tool
similar to Python's pip, wonder any one knows an equivalent to pip
install ?

from an empty directory, pip allows to install a package, then I can
start with python interpreter to play this package on command line, it
doesn't require a requirements.txt file or anything,

$ pip install ipython --user            # I'm install  the ipython
package to user's home dir

With elixir mix, I'm not sure if I can install a package to home dir
to play it in a iex shell ?

➸ mix install httpotion
** (Mix) The task "install" could not be found

➸ mix archive.install httpotion
** (Mix) Expected a local file path or a file URL.
Usage: mix archive.install <path or url>

I think hex.pm is an equivalent to python community's pypi index, however

https://pypi.python.org/pypi/ipython from this page I can use browser
download the source code in a tarball or other format

https://hex.pm/packages/httpotion from this page, if without mix tool
how do I download source code ?


Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-talk/a53caa6f-64e3-4a2a-80a5-487a191c63b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to