# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://consumindo-apis-com-elixir.cafecomelixir.com.br/configurando-ambiente/criando-um-projeto.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
