npm uninstall mongo code example Example 1: how to unistall dependencies npm un <package_name> Example 2: how to totally uninstall prettier npm uninstall <package_name>