# Install astro with npm

Astro is a modern site builder with web best practices, performance, and DX front-of-mind. Version 6.4.7 via npm; verified 2026-06-17.

## Install

```sh
sudo av install npm:astro
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g astro
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:astro
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/astro>
- **Version:** 6.4.7
- **Source summary:** Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
- **Homepage:** <https://astro.build>
- **Repository:** <https://github.com/withastro/astro>
- **Upstream docs:** <https://astro.build>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/astro/-/astro-6.4.7.tgz>
- **Issue tracker:** <https://github.com/withastro/astro/issues>
- **Published:** 2026-06-15T10:47:21.055Z
- **Last updated:** 2026-06-17T14:10:17.853Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- astro (cli)

## Dependencies

- @astrojs/compiler
- @astrojs/internal-helpers
- @astrojs/markdown-remark
- @astrojs/telemetry
- @capsizecss/unpack
- @clack/prompts
- @oslojs/encoding
- @rollup/pluginutils
- aria-query
- axobject-query
- ci-info
- clsx
- common-ancestor-path
- cookie
- devalue
- diff
- dset
- es-module-lexer
- esbuild
- flattie
- fontace
- get-tsconfig
- github-slugger
- html-escaper
- http-cache-semantics
- js-yaml
- jsonc-parser
- magic-string
- magicast
- mrmime
- neotraverse
- obug
- p-limit
- p-queue
- package-manager-detector
- piccolore
- picomatch
- rehype
- semver
- shiki
- smol-toml
- svgo
- tinyclip
- tinyexec
- tinyglobby
- ultrahtml
- unifont
- unist-util-visit
- unstorage
- vfile
- vite
- vitefu
- xxhash-wasm
- yargs-parser
- zod

## Build dependencies

- @astrojs/check
- @astrojs/compiler-rs
- @playwright/test
- @types/aria-query
- @types/hast
- @types/html-escaper
- @types/http-cache-semantics
- @types/js-yaml
- @types/parse-srcset
- @types/picomatch
- @types/semver
- @types/yargs-parser
- astro-scripts
- cheerio
- eol
- expect-type
- fs-fixture
- hono
- mdast-util-mdx
- mdast-util-mdx-jsx
- node-mocks-http
- parse-srcset
- rehype-autolink-headings
- rehype-slug
- rehype-toc
- remark-code-titles
- rollup
- sass
- typescript
- undici
- unified
- vitest

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.4.7
- Package-manager updated: 2026-06-17
- Local data: ok
- Upstream repository: https://github.com/withastro/astro
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for astro. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 7.0.0-alpha.2, Beta: 7.0.0-beta.4, Experimental 10745: 0.0.0-10745-20240410180016, Experimental 404 Trailing Slash: 0.0.0-404-trailing-slash-20231117145629, Experimental 9591: 0.0.0-9591-20240103143428, Experimental 9624: 0.0.0-9624-20240105191325, Experimental 9685: 0.0.0-9685-20240112193246, Experimental Actions: 0.0.0-actions-20240507170618, Experimental Actions Bun Workaround: 0.0.0-actions-bun-workaround-20240827210959, Experimental Adapter Sessions: 0.0.0-adapter-sessions-20250207124921, Experimental Add Stable: 0.0.0-add-stable-20231208215901, Experimental Allow Cc: 0.0.0-allow-cc-20240222155628, Experimental Alpine Scripts: 0.0.0-alpine-scripts-20250121133658, Experimental Assets Uint8array: 0.0.0-assets-uint8array-20231109073138, Experimental Assets Vitest: 0.0.0-assets-vitest-20240422184742, Experimental Astro Content Fix: 0.0.0-astro-content-fix-20240207175526, Experimental Astro Env: 0.0.0-astro-env-20240522153443, Experimental Astro URL Fix: 0.0.0-astro-url-fix-20241011143901, Experimental Astroenv Dev: 0.0.0-astroenv-dev-20241206160513, Experimental Atomic Writes: 0.0.0-atomic-writes-20241212091949, Experimental Audits Ui: 0.0.0-audits-ui-20240223144827, Experimental Cc Hmr: 0.0.0-cc-hmr-20240205141934, Experimental Cc Invalid: 0.0.0-cc-invalid-20240417202858, Experimental Cc Preserve Cache: 0.0.0-cc-preserve-cache-20240502141405
- **Version Count:** 1,343
- **Maintainers:** fredkschott, matthewp
- **Publisher:** GitHub Actions
- **Engines:** Node: >=22.12.0, npm: >=9.6.5, Pnpm: >=7.1.0
- **Optional Dependencies:** sharp
- **Funding:** <https://opencollective.com/astrodotbuild>
- **Integrity:** sha512-5vsXx0H52u23Jpshs9tM81D03Tb3Oh2Vt2Zo0bpqjXN+njkAWjFyGjTfmWJLAcrCQd9Q+iWB1eqfhR1sZJEaUA==
- **Shasum:** db24e75fc5681d83216292d6d122174fac57ef6d
- **Unpacked Size:** 2,832,965
- **File Count:** 0
- **Created At:** 2021-03-13T14:19:42.582Z
- **Latest Published At:** 2026-06-15T10:47:21.055Z
- **Modified At:** 2026-06-15T20:35:49.397Z

## Other Package-Manager Records

- winget - Astronomer.Astro: normalized package name match | Windows Package Manager source index: Astronomer.Astro from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [astro](https://www.automicvault.com/pkg/brew/astro/) - Same normalized package name appears in another local ecosystem. Shared terms: astro, web.
- [cypress](https://www.automicvault.com/pkg/npm/cypress/) - Local package facts share a topical domain. Shared terms: ci-info, common, front, info, is.
- [nightwatch](https://www.automicvault.com/pkg/npm/nightwatch/) - Both packages work with overlapping file formats or content types. Shared terms: aria, aria-query, ci-info, html, info.
- [astro](https://www.automicvault.com/pkg/brew/astro/) - Same normalized package name exists in another local package ecosystem.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
