New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-astro

Package Overview
Dependencies
Maintainers
0
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-astro

## Scaffolding for Astro projects

  • 4.11.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

create-astro

Scaffolding for Astro projects

With NPM:

npm create astro@latest

With Yarn:

yarn create astro

With PNPM:

pnpm create astro

create-astro automatically runs in interactive mode, but you can also specify your project name and template with command line arguments.

# npm
npm create astro@latest my-astro-project -- --template minimal

# yarn
yarn create astro my-astro-project --template minimal

# pnpm
pnpm create astro my-astro-project --template minimal

Check out the full list of example templates, available on GitHub.

You can also use any GitHub repo as a template:

npm create astro@latest my-astro-project -- --template cassidoo/shopify-react-astro

CLI Flags

May be provided in place of prompts

NameDescription
--help (-h)Display available flags.
--template <name>Specify your template.
--install / --no-installInstall dependencies (or not).
--add <integrations>Add integrations.
--git / --no-gitInitialize git repo (or not).
--yes (-y)Skip all prompts by accepting defaults.
--no (-n)Skip all prompts by declining defaults.
--dry-runWalk through steps without executing.
--skip-houstonSkip Houston animation.
--refSpecify an Astro branch (default: latest).
--fancyEnable full Unicode support for Windows.

FAQs

Package last updated on 24 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc