How to install IPFS service on Arch/Manjaro Linux?

Hello,
i wanted to have IPFS running so i can use its services if someone send me IPFS link or to help distribute Torrent Paradise

so i installed on Manjaro/Arch Linux:

$ pamac install go-ipfs
$ ipfs init

generating ... keypair...done
peer identity: abc
initializing IPFS node at /home/me/.ipfs
to get started, enter:

	ipfs cat /ipfs/abc/readme

$ systemctl start ipfs@$(whoami).service
$ systemctl enable ipfs@$(whoami).service

Now i have to open http://localhost:5001/ipfs/abc/ in web browser (i do not know why it does not accept just localhost:5001 for easy remembering)

and the page says “Could not connect to the IPFS API … Is your IPFS API configured to allow cross-origin (CORS) requests?” when i do F12 key, i see the Console shows CORS blocked requests (Firefox browser) because same origin policy disallows remote requests.

So i have tried suggested commands:

$ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin ‘[“http://localhost:5001”, “http://localhost:3000”, “http://127.0.0.1:5001”, “https://webui.ipfs.io”]’
$ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods ‘[“PUT”, “POST”]’
$ systemctl restart ipfs@$(whoami).service

but that not helped, no suspicious line in ipfs service start output…

i think that what helped was to open developer console of the web browser (F12) and make sure that all kind of elements are displayed then it shown that the XHR element was blocked by an extension, so i have trieds to open the page in private window without extensions and in different browser. That worked, so i have disabled the extension that blocked the localhost IPFS page.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:5001/api/v0/stats/bw. (Reason: CORS request did not succeed).