# Install nanoid with npm

A tiny (118 bytes), secure URL-friendly unique string ID generator. Version 6.0.0 via npm; verified 2026-07-12.

## Install

```sh
sudo av install npm:nanoid
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g nanoid
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:nanoid
- **Package manager:** npm
- **Version:** 6.0.0
- **Source summary:** A tiny (118 bytes), secure URL-friendly unique string ID generator
- **Homepage:** <https://github.com/ai/nanoid#readme>
- **Last updated:** 2026-07-12T15:11:38.825Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- nanoid (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 6.0.0

## Security Notes

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



## Sources

- pkg.so package database
- pkgdb category and tag curation
- cross-ecosystem install command graph
