Yarn: How did I get global install lists?

Created on 16 Jun 2017  路  4Comments  路  Source: yarnpkg/yarn

I can use npm list -g get the global npm list?

Due to yarn document, I use yarn global ls ,but no use.
And yarn list just get packages in current file path ..

Most helpful comment

What version of Yarn? (yarn --version)
yarn global ls should be fixed as of 0.24.2

All 4 comments

What version of Yarn? (yarn --version)
yarn global ls should be fixed as of 0.24.2

In my case, I need type sudo -E before yarn command.
for example:
$ sudo -E yarn global ls --depth=0
(yarn version 0.27.5)

yarn global ls is deprecated you can go with yarn global list

Was this page helpful?
0 / 5 - 0 ratings