Replies: 1 comment 2 replies
-
No, it only assumes you have a supported version of
To quote the installation guide you linked:
See also https://yarnpkg.com/getting-started/qa#why-is-the-yarn-package-on-npm-still-on-1x |
Beta Was this translation helpful? Give feedback.
-
In the getting started install instructions, it seems to assume you've already installed the
yarn
binary on your system and there's no reference to how to do so. The only from-scratch install instructions seem to be https://classic.yarnpkg.com/lang/en/docs/install (installs yarn classic).When installing yarn (e.g.
npm install --global yarn
), at this time of writing, it installsv1.22.19
. Initialising withyarn init
— with no additional args — would initialise the project with the1.x
. Even doingyarn set version latest
would still keep the1.x
version on the project.Why isn't the actual latest (currently 3.x) the default all across?
Can the latest be installed globally if I'm not making use of yarn classic?
What's the right way of thinking about all this?
For context, I'm not at all new to yarn. I just find this... confusing.
Thanks 🙂
Beta Was this translation helpful? Give feedback.
All reactions