diff --git a/src/cli/commands/install.js b/src/cli/commands/install.js index 9c58702e3d..8e36b785a2 100644 --- a/src/cli/commands/install.js +++ b/src/cli/commands/install.js @@ -98,6 +98,10 @@ function getUpdateCommand(): ?string { return 'choco upgrade yarn'; } + if (YARN_INSTALL_METHOD === 'apk') { + return 'apk update && apk add -u yarn'; + } + return null; }