question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remote install script

See original GitHub issue

Hi,

I currently install Yarn 1 on TravisCI using the below steps

  - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $v
  - export PATH=$HOME/.yarn/bin:$PATH

Does Yarn 2 have a similar remote install script? The above throws as error as it does not allow rc versions passed by --version. I have tried changing the script, but I can’t find where the Yarn 2 tarball files are hosted, as these links now redirect to legacy Yarn

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
xPawcommented, Feb 1, 2020

we now recommend keeping Yarn 1.x as the global binary

The website docs switched to v2 and it doesn’t seem to have any of the old install methods listed: https://yarnpkg.com/getting-started/install

I feel like it was changed prematurely.

I’ve had to change the url to the legacy site in our documentation. We’ve been recommending yarn over npm as it causes less issues for casual users.

0reactions
js-kylecommented, Feb 2, 2020
$ yarn --version
$ 1.21.1
$ yarn policies set-version 2.0.0-rc.27
Resolving 2.0.0-rc.27 to a url...
error An unexpected error occurred: "Release not found: 2.0.0-rc.27".

or

$ yarn policies set-version --rc
Resolving latest to a url...
Downloading https://github.com/yarnpkg/yarn/releases/download/v1.21.1/yarn-1.21.1.js...

I cannot seem to use that suggested method

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remote install software - Powershell
Running installers remotely ... If you already have the file on the remote system, we can run it with Invoke-Command . ... There...
Read more >
Easy way to install software remotely using PowerShell (2021)
Let's understand step-by-step how I created the script to install the software remotely. Step #1. $servers = gc C:\users\admin\ ...
Read more >
script to install software - Microsoft Q&A
1 Answer ... Hi,. You can install software on remote computers using the Invoke-Command cmdlet,. This link can be helpful. ... Please note: ......
Read more >
How to Install Windows Software Remotely Using PowerShell ...
The first step is to install Chocolately on the remote PC. The code below makes a connection to a remote computer by name...
Read more >
Powershell Script for installing software on remote computers ...
I also uninstall software where needed sometimes just before running the script below. Sometimes I uninstall first then install in the same ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found