Navigation Menu

Skip to content

sindresorhus/has-yarn-cli

Repository files navigation

has-yarn-cli

Check if a project is using Yarn

Install

$ npm install --global has-yarn-cli

Usage

$ has-yarn --help

  Usage
    $ has-yarn
    ✔ This project uses Yarn

  Options
    --quiet  Silence output (useful for scripts)

  Exits with code 0 if the project uses Yarn, otherwise code 2

Related