README.md in chef-dk-0.10.0 vs README.md in chef-dk-0.11.0
- old
+ new
@@ -7,12 +7,12 @@
* [Test Kitchen][]
* [ChefSpec][]
* [Foodcritic][]
This repository contains the code for the `chef` command. The full
-package is built via the 'chefdk' project in
-[omnibus-chef](https://github.com/opscode/omnibus-chef).
+package is built with omnibus. Project and component build definitions
+are in the omnibus directory in this repo.
## Installation
You can get the [latest release of ChefDK from the downloads page][ChefDK].
@@ -238,20 +238,35 @@
## Uninstallation Instructions
### Mac OS X
-You can uninstall Chef Development Kit on Mac using below commands:
+You can uninstall Chef Development Kit on Mac using the below commands.
+First, remove the main package files:
+
```sh
# Remove the installed files
sudo rm -rf /opt/chefdk
# Remove the system installation entry
sudo pkgutil --forget com.getchef.pkg.chefdk
+```
-# Remove the symlinks under /usr/bin for Chef Development Kit
+Next, remove the symlinks which the Chef Development Kit installs. The location for these differs based on your OS X version.
+
+Pre-El Capitan:
+
+```sh
+# Symlinks are in /usr/bin
ls -la /usr/bin | egrep '/opt/chefdk' | awk '{ print $9 }' | sudo xargs -I % rm -f /usr/bin/%
+```
+
+Post-El Capitan:
+
+```sh
+# Symlinks are in /usr/local/bin
+ls -la /usr/local/bin | egrep '/opt/chefdk' | awk '{ print $9 }' | sudo xargs -I % rm -f /usr/local/bin/%
```
### Windows
You can use `Add / Remove Programs` on Windows to remove the Chef Development