Ipfs get returns error

Hi

I want to download a file someone shared in this format:
https://ipfs.io/ipfs/HASH?filename=FILENAME

I’m on a Ubuntu machine and already installed go-ipfs.

I tried these commands:
ipfs get -o FILENAME HASH
ipfs get HASH
ipfs get /ipfs/HASH
ipfs get /ipfs/HASH/FILENAME

All of them get me this error:
Error: merkledag: not found

What am I doing wrong?
Thanks

There is no file FILENAME under your hash.

?filename=FILENAME isn’t part of IPFS’s spec, this is the javascript under hash using this.

Ok, thanks.
Whats the right command

I also tried this as it states hierhttps://docs.ipfs.io/reference/cli/#ipfs

ipfs get <ref>

for I inserted only the hash without <>