Command gcd_anti_alias is a part of the community filter. For some reasons, the plug-in has access to them while the CLI version does not (are they running on the same machine?).
You can try to force the CLI tool to get the community filter with gmic update.
If this succeeds, then the command should work with the CLI tool.