[erlang-questions] rebar3 & hex: how to install?
Roberto Ostinelli
roberto@REDACTED
Sat Mar 19 10:36:24 CET 2016
For anyone wandering the same thing: just add to your global rebar3 config
in ~/.config/rebar3/rebar.config:
{plugins, [rebar3_hex]}.
This is documented here:
https://hex.pm/docs/rebar3_publish
Best,
r.
On Sat, Mar 19, 2016 at 9:16 AM, Roberto Ostinelli <roberto@REDACTED>
wrote:
> I'm on OSX. I've Erlang and Elixir installed.
> rebar3 is in /usr/local/bin.
>
> However:
>
> $ rebar3 hex user register
> ===> Command hex not found
>
> But:
>
> $ mix local
> mix hex # Prints Hex help information
> mix hex.build # Builds a new package version locally
> mix hex.config # Reads or updates Hex config
> mix hex.docs # Publishes docs for package
> mix hex.info # Prints Hex information
> mix hex.key # Hex API key tasks
> mix hex.outdated # Shows outdated Hex deps for the current project
> mix hex.owner # Hex package ownership tasks
> mix hex.public_keys # Manages Hex public keys
> mix hex.publish # Publishes a new package version
> mix hex.registry # Hex registry tasks
> mix hex.search # Searches for package names
> mix hex.user # Hex user tasks
>
> What am I missing?
>
> Thank you,
> r.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160319/2f87a47c/attachment.htm>
More information about the erlang-questions
mailing list