Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T10:01:15.000Z (almost 5 years ago)
- Last Synced: 2024-11-07T22:44:53.349Z (3 months ago)
- Topics: install, powershell, script, yarn
- Language: PowerShell
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- 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]`