# Initialize the Astro Component template in a new directory
npm create astro@latest my-new-component-directory -- --template component