- Run `npm rm` in correct dir - Encode args in `npm conf rm` command for Powershell - Don't cleanup in exit handler, this might not complete. Instead, do it on startup. - Different cleanup command for Windows and Linux - Explicitly close server, instead of relying on process.exit() - Make scope configurable