# Running vanilla mix command instead of alias

In my project I have some aliases in `mix.exs` such as:

``````defp aliases do
[
"ecto.setup": ["ecto.create", "ecto.migrate", "populate"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
"test": [
"ecto.drop --quiet",
"ecto.create --quiet",
"ecto.migrate",
"test"
]
]
end
``````

When I run `mix test` in terminal, Mix runs the previous alias. Is there any way to run the vanilla `mix test` command instead of the alias?

As far as I know, the only way is to delete the alias.

2 Likes

Well, renaming the alias is also an option.

1 Like