How do you uninstall all your bower packages?

Updated Answer

If you’re trying to update all of your packages, use

$ bower update

Original Answer

Go to your bower.json file and remove all of the components, or libraries, that you want to uninstall from devDependencies.

After you have removed the ones you want gone, execute –

$ bower prune
  1. start with –

    "devDependencies": {
        "angular": "~1.2.15",
        "angular-ui-router": "~0.2.10",
        "moment": "~2.5.1"
    }
    
  2. remove angular references from file –

    "devDependencies": {
        "moment": "~2.5.1"
    }
    
  3. execute

    $ bower prune
    
  4. watch your angular dependencies get uninstalled

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)