Open your profile file in a text editor. You can run the following command in order to know what the default profile file is.

On Linux OS:

echo "$HOME/.bashrc"

On Mac OS:

echo "$HOME/.bash_profile"

Find the Profile File Function on Linux OS and Mac OS in your profile file and delete it.

Lastly, delete the meco folder from the installation path.