Last active
August 10, 2018 13:11
-
-
Save salverde/ae36655c098ab4b47d3c9104c076a836 to your computer and use it in GitHub Desktop.
Uninstalll chef on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Use the following commands to remove the Chef development kit on macOS. | |
" To remove installed files: | |
>$ sudo rm -rf /opt/chefdk | |
"To remove the system installation entry: | |
>$ sudo pkgutil --forget com.getchef.pkg.chefdk | |
" To remove symlinks: | |
" For chef-client version 12.x, under /usr/local/bin: | |
>$ sudo find /usr/local/bin -lname '/opt/chefdk/*' -delete | |
" For chef-client version 11.x, under /usr/bin: | |
>$ sudo find /usr/bin -lname '/opt/chefdk/*' -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment