![Forrest logo](/images/logo.png)
lein:tldr:fddb5
lein: Generate scaffolding for a new project based on a template.
$ lein new ${template_name} ${project_name}
try on your machine
This command is used to create a new project in Clojure programming language using Leiningen build tool.
Here is the breakdown of the command:
lein
is the command-line tool for Leiningen which is used for Clojure projects.new
is a command within Leiningen that helps create a new project.${template_name}
is a placeholder for the desired project template. Leiningen provides a set of default templates such asapp
,library
,plugin
, etc. Additionally, there can be custom templates created by users or provided by third-party libraries.${project_name}
is a placeholder for the desired name of the project you want to create. You should replace it with the actual name you want to give to your project.
By providing the desired template name and project name in the command, Leiningen will generate the necessary files and directory structure for your new project based on the specified template.
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.