# Correct way to write to stderr
grapa -c '$file().set($stderr, "Error\n")'
# Alternative: Using debug output (also goes to stderr)
grapa -c '"Error message".debug(3, "error")'
# Test both stdout and stderr
grapa -c '$file().set($stdout, "Normal output\n"); $file().set($stderr, "Error output\n")'
You may need to escape the $ character in the CLI command.
See the following for installing version 0.1.54
https://grapa-dev.github.io/grapa/installation/