mise bootstrap services remove
- 用法:
mise bootstrap services remove [-n --dry-run] <NAME> - 影响: 具有破坏性——可能删除或不可逆地覆盖
- 源代码:
src/cli/bootstrap.rs
Uninstall a user-scope service
Removing a user-scope entry from config does not uninstall its systemd unit, LaunchAgent, or Scheduled Task. Use this command to uninstall it, whether or not it is still declared. If the entry is still declared, the next mise bootstrap installs it again.
It removes the dev.mise.NAME.service unit or dev.mise.NAME.plist agent, so it also removes one that [bootstrap.linux.systemd.units] or [bootstrap.macos.launchd.agents] wrote under that name. It does not remove .timer units.
Arguments
<NAME>— Name of the installed user service
Flags
-n --dry-run— Show what would be removed without removing it-h --help— Print help
Examples
Preview uninstalling the user service named mise-history
mise bootstrap services remove mise-history --dry-run