- Visit the IPFS distribution page at https://dist.ipfs.io/#go-ipfs
- Download the macOS version that matches your system's architecture (either ARM64 or AMD64)
- Locate the downloaded .tar.gz file in the Downloads folder
- Double-click the file to extract its contents
- Open
/usr/local/bin
folder in Finder - From the menu bar, click on the "Go" menu.
- Choose "Go to Folder..." or press Shift + Cmd + G.
- In the "Go to the folder" dialog box, enter /usr/local/bin and click on "Go" or press Enter.
- Open Finder and go to the extracted go-ipfs folder
- Locate the
ipfs
executable - Move the
ipfs
executable to the /usr/local/bin folder using drag-and-drop
-
Open Finder.
-
From the menu bar, click on the "Go" menu.
-
Choose "Go to Folder..." or press
Shift + Cmd + G
. -
In the "Go to the folder" dialog box, enter
~/.ipfs
and click on "Go" or press Enter. -
Locate the
config
file, right-click on it, and select "Open With" > "TextEdit" or another text editor. -
Find the "API" section and add the following lines under "HTTPHeaders":
"Access-Control-Allow-Origin": [ "*" ], "Access-Control-Allow-Methods": [ "PUT", "POST", "GET" ],
Make sure the added lines are formatted correctly and match the surrounding JSON structure.
-
Find the "Swarm" section. In the "Swarm" section, locate the "ConnMgr" section and update the values as follows:
"ConnMgr": { "GracePeriod": "1m0s", "HighWater": 40, "LowWater": 20, "Type": "basic" },
Make sure the added lines are formatted correctly and match the surrounding JSON structure.
-
Save the changes and close the text editor.
-
Open
Automator
(you can find it by searching in Spotlight). -
Click on
New Document
, then chooseApplication
and clickChoose
. -
In the
Actions
library on the left, search forRun Shell Script
and drag it to the workflow area on the right. -
In the
Run Shell Script
box, replace the text with the following command:/usr/local/bin/ipfs daemon --init
-
Click on
File
>Save
in the top menu, and save the Automator application with a name likeIPFS Autostart
in the/Applications
folder. -
Open
System Preferences
, and search forLogin Items
. -
In
Open at Login
section click the+
button and navigate to the/Applications
folder. -
Select the
IPFS Autostart
application you just created, and clickAdd
.
- Visit the IPFS Cluster distribution page at https://dist.ipfs.io/#ipfs-cluster-follow
- Download the macOS version that matches your system's architecture (either ARM64 or AMD64)
- Locate the downloaded .tar.gz file in the Downloads folder
- Double-click the file to extract its contents
- Open
/usr/local/bin
folder in Finder - From the menu bar, click on the "Go" menu.
- Choose "Go to Folder..." or press Shift + Cmd + G.
- In the "Go to the folder" dialog box, enter
/usr/local/bin
and click on "Go" or press Enter. - Open Finder and go to the extracted ipfs-cluster-follow folder
- Locate the
ipfs-cluster-follow
executable - Move the
ipfs-cluster-follow
executable to the /usr/local/bin folder using drag-and-drop
- Open
Terminal
(you can find it by searching in Spotlight). - Paste the following command into the terminal and press Enter:
/usr/local/bin/ipfs-cluster-follow synthetix init "http://127.0.0.1:8080/ipns/k51qzi5uqu5dj0vqsuc4wyyj93tpaurdfjtulpx0w45q8eqd7uay49zodimyh7"
-
Open
Automator
(you can find it by searching in Spotlight). -
Click on
New Document
, then chooseApplication
and clickChoose
. -
In the
Actions
library on the left, search forRun Shell Script
and drag it to the workflow area on the right. -
In the
Run Shell Script
box, replace the text with the following command:/usr/local/bin/ipfs-cluster-follow synthetix run
-
Click on
File
>Save
in the top menu, and save the Automator application with a name likeIPFS Cluster Follow Autostart
in the/Applications
folder. -
Open
System Preferences
, and search forLogin Items
. -
In
Open at Login
section click the+
button and navigate to the/Applications
folder. -
Select the
IPFS Cluster Follow Autostart
application you just created, and clickAdd
.