# Install contentlayer2 with npm

Package metadata for contentlayer2, from local pkg.so sources. Version 0.5.8 via npm; verified 2025-05-03.

## Install

```sh
sudo av install npm:contentlayer2
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g contentlayer2
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:contentlayer2
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/contentlayer2>
- **Version:** 0.5.8
- **Source summary:** Package metadata for contentlayer2, from local pkg.so sources.
- **Homepage:** <https://github.com/contentlayerdev/contentlayer>
- **Repository:** <https://github.com/timlrx/contentlayer2>
- **Upstream docs:** <https://github.com/contentlayerdev/contentlayer>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/contentlayer2/-/contentlayer2-0.5.8.tgz>
- **Published:** 2025-05-03T13:53:40.785Z
- **Last updated:** 2025-05-03T13:53:40.785Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- contentlayer2 (cli)
- contentlayer2 (alias)

## Dependencies

- @contentlayer2/cli
- @contentlayer2/client
- @contentlayer2/core
- @contentlayer2/source-files
- @contentlayer2/source-remote-files
- @contentlayer2/utils

## Build dependencies

- typescript

## Install behavior

- Post-install hook: defined
- Lifecycle scripts: postinstall
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.5.8
- Package-manager updated: 2025-05-03
- Local data: ok
- Upstream repository: https://github.com/timlrx/contentlayer2
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.5.8
- **Version Count:** 12
- **Maintainers:** timlrx
- **Publisher:** timlrx
- **Engines:** Node: >=18
- **Integrity:** sha512-GlyhZdJALMyTRuxquE2AQ47kELupZKz4BIEpZeN/NiNV+3MmE61LW1bF7gpCZ+cIrKkSaDNTKbeLvEtsefslqA==
- **Shasum:** 876745ae5b3481da93813c5da3c0a3a05b4e08ec
- **Unpacked Size:** 20,906
- **File Count:** 0
- **Created At:** 2024-03-31T10:23:41.417Z
- **Latest Published At:** 2025-05-03T13:53:40.785Z
- **Modified At:** 2025-05-03T13:53:40.964Z


## Related links

- [Productivity CLI packages](https://pkg.so/productivity-cli-packages/) - Matched curated package taxonomy and local package facts.
- [contentlayer](https://pkg.so/npm/contentlayer/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, content, content-management, contentlayer.
- [datocms-client](https://pkg.so/npm/datocms-client/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, content, content-management, core.
- [emdash](https://pkg.so/npm/emdash/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, content, content-management, core.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
