Download the zip file from the official page
Unzip the zip file
I moved from the download directory to the user directory
PATH through docker-slim
Write about here
.bash_profile
# ---docker slim ---
export PATH="Users/dsaku/dist_mac"
# ---main command ---
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
At first, I wrote it like this. But it doesn't go well. This is wrongly written,
.bash_profile
# ---main command ---
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
# ---docker slim ---
export PATH=$PATH:/Users/dsaku/dist_mac
This is well in PATH, ・ Export PATH = PATH you want to pass If you write in, it will be overwritten and saved, so it didn't work. To add ・ Export PATH = $ PATH: PATH you want to pass Otherwise it seems to be useless.
It is the basic of the basics, but I did not know it, so I wrote it as a memorandum.
Understand setting environment variables to be in your PATH (Mac OS X) ・ Https://qiita.com/soarflat/items/d5015bec37f8a8254380
Recommended Posts