Ready to ditch MacPorts? Here's how to (really) do it:
If you follow the MacPorts Uninstallation Guide, which I really recommend you try first, you may encounter the following error:
zsh: no matches found: ...
So here's how (really) uninstall MacPorts (sudo access required):
/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/fakerybakery/79aac397fda1db3935b63d29305fc83c/raw/82edc0175f3200481e4715dbdbbfa6a4f4021f10/uninstall_macports.sh)"
Curious? Check out the source of the script below!
License: CC-BY-NC-ND
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.