https://github.com/jimic/ps-yarn-install
PowerShell script to install Yarn on Windows
https://github.com/jimic/ps-yarn-install
install powershell script yarn
Last synced: 2 months ago
JSON representation
PowerShell script to install Yarn on Windows
- Host: GitHub
- URL: https://github.com/jimic/ps-yarn-install
- Owner: JimiC
- Created: 2018-06-01T09:48:20.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T10:01:15.000Z (over 6 years ago)
- Last Synced: 2025-06-05T00:31:18.339Z (about 1 year ago)
- Topics: install, powershell, script, yarn
- Language: PowerShell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ps-yarn-install
PowerShell script to install `Yarn` on Windows, similar to the `Bash` script already available at `https://yarnpkg.com/install.sh`. [View source on GitHub](https://github.com/yarnpkg/website/blob/master/install.sh).
The purpose of creating this script is to be used on a `Windows` environment `CI`, like [AppVeyor](https://ci.appveyor.com).
## Installation Script
You can install `Yarn` by running the following code in your terminal:
`curl -o $env:temp\install.ps1 https://raw.githubusercontent.com/JimiC/ps-yarn-install/master/install.ps1 | powershell $env:temp\install.ps1`
The installation process includes verifying an `AuthCode` signature.
You can also specify a version by running the following code in your terminal:
`curl -o $env:temp\install.ps1 https://raw.githubusercontent.com/JimiC/ps-yarn-install/master/install.ps1 | powershell $env:temp\install.ps1 --version [version]`