How to remove an environment variable on OSX using bash If you have set a variable in OSX and need to delete it, then you need to unset it ~# unset $SOMEVAR Have more questions? Submit a request 0 Comments Please sign in to leave a comment.
0 Comments