Did you enter the full command: xattr -d com.apple.quarantine followed by the path to the app?
xattr -d com.apple.quarantine