Apache Cordova - uninstall globally

前端 未结 4 2002
予麋鹿
予麋鹿 2020-12-13 07:09

I\'ve installed cordova via npm and i did it globally, now i would like to remove it to reinstall it on single app folder

Any clue on how to do it safely?

4条回答
  •  無奈伤痛
    2020-12-13 07:17

    Super late here and I still couldn't uninstall using sudo as the other answers suggest. What did it for me was checking where cordova was installed by running

    which cordova
    

    it will output something like this

    /usr/local/bin/
    

    then removing by

    rm -rf /usr/local/bin/cordova
    

提交回复
热议问题