• yarn versions

    Displays version information of the currently installed Yarn, Node.js, and its dependencies.

    yarn versions
    1. yarn versions
    1. yarn versions v0.24.5
    2. { http_parser: '2.7.0',
    3. node: '7.10.0',
    4. v8: '5.5.372.43',
    5. uv: '1.11.0',
    6. zlib: '1.2.11',
    7. ares: '1.10.1-DEV',
    8. modules: '51',
    9. openssl: '1.0.2k',
    10. icu: '58.2',
    11. unicode: '9.0',
    12. cldr: '30.0.3',
    13. tz: '2016j' }
    14. Done in 0.04s.

    原文: https://yarnpkg.com/zh-Hans/docs/cli/versions