# Install safe-publish-latest with npm

Ensure that when you npm publish, the "latest" tag is only set for the truly latest version. Version 2.0.0 via npm; verified 2021-10-14.

## Install

```sh
sudo av install npm:safe-publish-latest
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g safe-publish-latest
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:safe-publish-latest
- **Package manager:** npm
- **Version:** 2.0.0
- **Source summary:** Ensure that when you npm publish, the "latest" tag is only set for the truly latest version.
- **Homepage:** <https://github.com/ljharb/safe-publish-latest#readme>
- **Last updated:** 2021-10-14T06:14:05.081Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- safe-publish-latest (alias)

## Install behavior

- Bottle: not available

## Freshness

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

## Security Notes

No matching local secret-handling manifest was found for safe-publish-latest. 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
