How to Uninstall Netdata

how do i remove netdata off my MacOS Catalina?

I followed for installations Install Netdata on macOS | Learn Netdata

I am trying to unstall Uninstall Netdata | Learn Netdata but it is failing. I was not able to local .environment file so i created on with NETDATA_PREFIX NETDATA_ADDED_TO_GROUPS

error
users/jason/netdata/.environment: line 2: syntax error near unexpected token }' /users/jason/netdata/.environment: line 2: \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;}’

i think there are 2 good ways to install/uninstall netdata on macOS

  • using brew
  • using docker container

got uninstalled /netdata-uninstaller.sh --force --yes --env /usr/local/netdata/etc/netdata/.environment