Git Product home page Git Product logo

Comments (8)

danielsdeleo avatar danielsdeleo commented on September 25, 2024

There will be an uninstall script in a future release. For now, you want to loop over the executables in /opt/chefdk/bin and remove the corresponding symlinks in /usr/bin/. Then you can rm -rf /opt/chefdk and finally pkgutil --forget com.getchef.pkg.chefdk to remove it from the package database. Side note, it would be cool if OS X had an uninstaller.

from chef-dk.

yveslaroche avatar yveslaroche commented on September 25, 2024

@rberger On Mac OSX ChefDK can now be installed with homebrew cask. You can uninstall it with brew cask uninstall chefdk, which will remove the symlinks and com.getchef.pkg.chefdk.

from chef-dk.

otukutun avatar otukutun commented on September 25, 2024

I made uninstall script for Mac OS.

https://gist.github.com/otukutun/0106977649dd765eb9b7

from chef-dk.

justinredd avatar justinredd commented on September 25, 2024

I recommend you also clear out the chefdk's ruby in your user directory. rm -rf ~/.chefdk/ should do the trick.

from chef-dk.

ricardolupo avatar ricardolupo commented on September 25, 2024

Should I also care about my ~/.gem directory when uninstalling chef-dk?

from chef-dk.

jtimberman avatar jtimberman commented on September 25, 2024

@ricardolupo If you're using ChefDK's ruby as your local system ruby environment, it shouldn't touch ~/.gem.

However I'd be wary about removing /.chefdk entirely on upgrades. That directory is also where the policyfile-downloaded cookbooks are cached (/.chefdk/cache).

from chef-dk.

justinredd avatar justinredd commented on September 25, 2024

I remove the ~/.chefdk for those times I've managed to, yet again, totally hose my gems.

from chef-dk.

jaseeey avatar jaseeey commented on September 25, 2024

Thanks @otukutun, your script uninstalled fine for me when run under sudo (or root).

from chef-dk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.