> For the complete documentation index, see [llms.txt](https://consumindo-apis-com-elixir.cafecomelixir.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://consumindo-apis-com-elixir.cafecomelixir.com.br/configurando-ambiente/criando-um-projeto.md).

# Criando um projeto

Para criar um projeto em elixir é de uma facilidade absurda. A própria linguagem tem um CLI para realizar a geração do mesmo. Para isso, basta utilizar o comando `mix new [nome do projeto]` e tudo que precisamos será gerado.

```
mix new coffee_shop
```

```sh
> mix new coffee_shop
* creating README.md
* creating .formatter.exs
* creating .gitignore
* creating mix.exs
* creating lib
* creating lib/coffee_shop.ex
* creating test
* creating test/test_helper.exs
* creating test/coffee_shop_test.exs

Your Mix project was created successfully.
You can use "mix" to compile it, test it, and more:

    cd coffee_shop
    mix test

Run "mix help" for more commands.
```

Tendo rodado o comando, entraremos dentro do projeto `cd coffee_shop` e rodaremos o teste para ver se tudo esta funcionando

```
mix test
```

```sh
> mix test
Compiling 1 file (.ex)
Generated coffee_shop app
..
Finished in 0.01 seconds (0.00s async, 0.01s sync)
1 doctest, 1 test, 0 failures
Randomized with seed 251121
```

Com isso, podemos seguir nos estudos.
