How to uninstall Elm package?

Remove corresponding line from elm-package.json and run elm-package install. It'll ask first and then remove the package in question.


The elm-json project provides an 'uninstall' option that seems to handle things properly, eg. moving them to 'indirect' dependencies when needed, otherwise removing them completely.

It is written by zwilias who is on the core team though the project includes a disclaimer that it work in progress.

In can be installed via npm. The project recommends:

npm install --global elm-json


currently the only way to remove a package is to delete the dependency in elm-package.json

Tags:

Elm