![Forrest logo](/images/logo.png)
gatsby:tldr:5a3c5
gatsby: Create a new site with a Gatsby 'starter'.
$ gatsby new ${site_name} ${url_of_starter_github_repo}
try on your machine
The command "gatsby new ${site_name} ${url_of_starter_github_repo}" is used to create a new Gatsby site based on a starter template from a GitHub repository.
Here's a breakdown of the command:
- "gatsby new": This is the command to create a new Gatsby site.
- "${site_name}": This is a placeholder for the name you want to give to your new site. You should replace it with your desired name, without the curly braces.
- "${url_of_starter_github_repo}": This is a placeholder for the URL of the GitHub repository that contains the starter template you want to use for your site. You should replace it with the actual URL of the starter template repository, without the curly braces.
By running this command, Gatsby will automatically clone the contents of the starter template repository into a new directory with the specified site name. It will set up the necessary files and dependencies for your new Gatsby site based on the selected starter 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.