yarn config get — Yarn CLI reference

Print a configuration value

Docs/Reference/CLI/config/get

yarn config get

Print a configuration value

yarn config get <NAME>

This command prints a single configuration setting as resolved for the current project.

Secrets such as tokens are redacted from the output by default. Use --no-redacted only when you need the untransformed value.

#--jsonboolean

Format the output as a JSON value

#--redactedboolean

Redact sensitive values