My PATH Variable is a Mess

How to clean up your PATH in macOS/Linux

Shinichi Okada
Towards Data Science
4 min readMar 15, 2021

--

Photo by Lili Popper on Unsplash

Introduction

When you install a program, it often asks you to add a PATH to your shell config file. I do it blindly thinking, “This tool is cool. I want to use it NOW!” After some time you find your PATH variable is a mess. A lot of duplication or triplication of PATHs. It is time to clean it up.

--

--

A programmer and technology enthusiast with a passion for sharing my knowledge and experience. https://codewithshin.com