YARN_REGISTRY="https://my-registry" yarn config get registry
$ YARN_REGISTRY="https://my-registry" yarn add @ryanprivate/test
yarn add v1.22.11
warning ../../package.json: No license field
info No lockfile found.
[1/4] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://my-registry/@ryanprivate%2ftest: getaddrinfo ENOTFOUND my-registry".
info If you think this is a bug, please open a bug report with the information provided in "/tmp/yarntest/a/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.