install_remove

Diagnostic `nanook::cli::install_remove`

Summary

failed to remove existing `{0}`

Help

verify the file is writable, or rerun with elevated permissions

Details

When this fires

nanook install --force tried to delete the existing destination file before copying the new binary, and std::fs::remove_file failed. Usually a perms issue (file owned by root, read-only mount) or the file is currently in use on a platform that locks running binaries.

What to check

Usually a perms issue: rerun under sudo. On Windows, make sure no nanook process is running off that path.

ls -l $(which nanook)
sudo nanook install --force