# What changed in docsify-cli

> 4 changes in docsify-cli 5 from its official release notes, upgrade guides and advisories: 2 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/docsify-cli/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## docsify-cli 5

### New APIs and options

- The serve command can set its bound host with -H. (5.0.0) — [release notes](https://github.com/docsifyjs/docsify-cli/releases/tag/v5.0.0)
- Adds an --overwrite flag to the generator. (5.0.0) — [release notes](https://github.com/docsifyjs/docsify-cli/releases/tag/v5.0.0)

### Fixes and other changes

- Fixes incorrect relative path detection on Windows. (5.0.0) — [release notes](https://github.com/docsifyjs/docsify-cli/releases/tag/v5.0.0)
- Fixes a case that caused “Cannot read property 'indexOf' of undefined”. (5.0.0) — [release notes](https://github.com/docsifyjs/docsify-cli/releases/tag/v5.0.0)
