Skip to content

Instantly share code, notes, and snippets.

@salverde
Last active August 10, 2018 13:11
Show Gist options
  • Save salverde/ae36655c098ab4b47d3c9104c076a836 to your computer and use it in GitHub Desktop.
Save salverde/ae36655c098ab4b47d3c9104c076a836 to your computer and use it in GitHub Desktop.
Uninstalll chef on macOS
" 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