简体   繁体   English

Elixir-如何从命令行添加软件包?

[英]Elixir - How to add packages from the command line?

I know in Elixir you can add hex packages by going to mix.exs and manually typing them out. 我知道在Elixir中,您可以通过mix.exs并手动键入来添加十六进制包。 I want to know if there is a command similar to Node js's npm install name-of-package -s command. 我想知道是否有类似于Node js的npm install name-of-package -s命令的命令。 In other words, is there a way to add individual packages by only using the command line. 换句话说,有一种方法可以仅通过使用命令行来添加单个软件包。

No, there is no functionality to add a package from the command line. 不,没有从命令行添加软件包的功能。 However, you're not the first to have this idea. 但是,您并不是第一个有此想法的人。 See this discussion on ElixirForum. 请参阅ElixirForum上的讨论

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM