# Install similarity with npm

How similar are these two strings? Version 1.2.1 via npm; verified 2020-02-22. Also installable with nix: nix profile install nixpkgs#similarity.

## Install

```sh
sudo av install npm:similarity
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g similarity
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:similarity
- **Package manager:** npm
- **Version:** 1.2.1
- **Source summary:** How similar are these two strings?
- **Homepage:** <https://github.com/words/similarity#readme>
- **Last updated:** 2020-02-22T13:01:26.484Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- similarity (alias)

## Install behavior

- Bottle: not available

## Freshness

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

## Security Notes

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


## Other Package-Manager Records

- Nix - similarity: normalized package name match | nixpkgs package indexes: pkgs/by-name/si/similarity/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Sources

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