O'Reilly logo

Elixir Cookbook by Paulo A Pereira

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Command Line

This chapter will cover the following recipes:

  • Interactive Elixir (IEx):
    • Using the terminal to prototype and test ideas
    • Loading and compiling modules
    • Getting help and accessing documentation within IEx
    • Using Erlang from Elixir
    • Inspecting your system in IEx
    • Inspecting your system with Observer
  • Mix:
    • Creating a simple application
    • Managing dependencies
    • Generating a supervised application
    • Generating umbrella applications
    • Managing application configuration
    • Creating custom Mix tasks

Introduction

The command line is the preferred way to create and interact with Elixir applications, inspect running systems, and prototype ideas.

Interactive Elixir (IEx) allows immediate evaluation of any expression, and it is also possible to define modules directly ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required