Forrest logo
back to the mix tool

mix:tldr:d2692

mix: Create a new project.
$ mix new ${project_name}
try on your machine

The command "mix new ${project_name}" is typically used in the Elixir programming language and its corresponding build tool called Mix.

This command is used to create a new Elixir project. The "${project_name}" placeholder should be replaced with the desired name for the project.

When you run this command, Mix will create a new folder with the specified project name and generate the necessary files and directories to set up a basic Elixir project structure. This includes files like "mix.exs" (used for project configuration), "lib" (directory for source code files), and "test" (directory for test files), among others.

Using "mix new ${project_name}" is often the first step when starting a new Elixir project, as it provides a clean project structure to work with.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mix tool