A definite guide on

How to Develop a Command Line Application in Elixir?

The next step after basics

Malreddy Ankanna
blackode
Published in
4 min readDec 28, 2016

--

After learning the basic terms in Elixir, I don’t know how to proceed further. I have no idea about using Elixir knowledge in practice. I need level up. But how?

So, I thought to share one of my approaches. Hope this will help them to reach next level in Elixir.

So, let's build some innovative stuff in elixir.

Let’s dive into the code.

Creating the Mix project

A very basic step

mix new commandline

After creating the project, traverse the project structure.

You will find the lib folder contains project code files and mix.exs file contains details of the application or project meta data like dependencies, creator, links, etc...

Now, compile the project by running the command mix or mix compile being in your project root directory.

--

--

Malreddy Ankanna
blackode

Programmer & Writer, I write about coding, thoughts, ideas, personal musings, technical articles, and tutorials.https://bio.link/blackode