How to install IPFS service on Arch/Manjaro Linux?

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”, “”, “”]’
$ 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…