Skip to main content
Version: 3.x

mops remove

Alias mops rm

Remove package and update mops.toml

mops remove <package_name>

The package is removed from whichever section declares it, so a [dev-dependencies] entry needs no flag. If both sections declare it, both entries are removed — use --dev to remove only the [dev-dependencies] one.

Options

--dev

Remove package from [dev-dependencies] section.

--dry-run

Do not actually remove anything

--verbose

Verbose output.

The lockfile is always kept in sync — there is no flag to opt out.