# Way to make CLI in Julia?

**URL:** <https://discourse.julialang.org/t/way-to-make-cli-in-julia/5171>\
**Category:** General Usage\
**Tags:** question\
**Created:** [August 1, 2017, 7:18pm UTC](https://discourse.julialang.org/t/way-to-make-cli-in-julia/5171 "2017-08-01T19:18:17Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![abelsiqueira](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abelsiqueira/32/47269_2.png) [@abelsiqueira](https://discourse.julialang.org/u/abelsiqueira)\
**Post date:** [August 3, 2017, 8:15pm UTC](https://discourse.julialang.org/t/way-to-make-cli-in-julia/5171/21 "2017-08-03T20:15:35Z")

</div>

If you want people using non-Debian GNU/Linux to use your cli, you’ll need a different way to install it. This may seem a hassle, but it is common. [Linuxbrew](http://linuxbrew.sh/), for instance, asks you to have `ruby` installed, and run a non-trivial command - in the sense that it’s not easy to remember the full command, unless you install it frequently.

What you could do, then, is use the `#!/usr/bin/env julia` approach, and ask the user to put it somewhere “visible”. In my case - [JuliaBG](https://github.com/abelsiqueira/juliabg) - I asked the user to `chmod` and `cp` to `/usr/local/bin`. If you still think this is too much for the user, create a `Makefile` that does it automatically, and ask the user to `sudo make install`.

[Previous page](https://discourse.julialang.org/t/way-to-make-cli-in-julia/5171.md?page=1)
