Alpine Add Curl



  1. Alpine Linux Apk Add Curl
  2. Alpine Add Curly

Check and verify PHP version on Alpine Linux, run: # php -v # php -version. Step 3: Install the PHP 7.x modules. Add popular PHP modules such as MySQL, GD and others: # apk add php7-gd php7-mysqli php7-zlib php7-curl.

  • Alpine Linux based WSL distribution. Supports multi-install. Lightest WSL distribution. yuk7/AlpineWSL.
  • Install cURL on Alpine. Install curl on Alpine Linux from the command line: # apk -no-cache add curl. To install curl in Alpine-based Docker image, add the following line to a Dockerfile: RUN apk -no-cache add curl. Alpine Linux 3.3 and heigher: The -no-cache option has been added in Alpine Linux 3.3. It allows to install packages with an.
  • A workaround for this is to add an alias in your.bashrc file, like so: alias node=nodejs. This will point yarn to whatever version of node you decide to use. If Yarn is not found in your PATH, follow these steps to add it and allow it to be run from anywhere. Note: your profile may be in your.profile,.bashprofile,.bashrc.
Documentation
libcurl
Get Help
Development
Related:
Changelog
Old Releases
Source code repo
Daily Snapshots
GPG Key
Releaselog

The curl project mostly provides source packages. Other packages are kindly provided by external persons and organizations.

Source Archives

curl 7.75.0, Released on the 3rd of February 2021. Changelog for 7.75.0.
curl-7.75.0.tar.gzgpgmirror
curl-7.75.0.tar.bz2gpgmirror
curl-7.75.0.zipgpgmirror
curl-7.75.0.tar.xzgpgmirror

Download Wizard

Need help to select what to download? Use the curl Download Wizard!

Packages

AIX
AmigaOS
BeOS
Chrome NaCl
DOS
FreeBSD
GNU-Darwin
HPUX
Haiku
Hurd
IRIX
Linux
Mac OS X
MiNT
Midnight BSD
Minix
NetBSD
NetWare
OS/2
Open Server
OpenBSD
Plan9
QNX
RISC OS
SailfishOS
Solaris
Syllable
Tru64 UNIX
UnixWare
VMS
Win32
Win64
PackageVersionTypeProvider
AIX
AIX 5.1 7.72.0binaryperzl.org
AIX 5.1 7.72.0develperzl.org
AIX 5.3 7.75.0binaryMichael Felt
AIX 6.1 7.74.0binaryAIX Toolbox
AIX 6.1 7.74.0develAIX Toolbox
AmigaOS
AmigaOS m68k7.14.0binaryDiego Casorran
AmigaOS 4 PPC7.65.3binaryMichael Trebilcock
AmigaOS 4 PPC7.65.3libcurlMichael Trebilcock
BeOS
BeOS 7.12.3binaryMarcin Konicki
Chrome NaCl
Chrome NaCl 7.44.0binarywebports
DOS
DOS 7.72.0binaryMichael Kostylev
DOS 7.21.6binarySvarDOS
FreeBSD
FreeBSD 7.75.0source
Haiku
Haiku 7.74.0source
HPUX
HPUX 11.00 HPPA7.75.0binaryconnect.org.uk
HPUX 11.11 HPPA7.75.0binaryconnect.org.uk
HPUX 11.23 ia647.75.0binaryconnect.org.uk
Hurd - Arch
Hurd Arch 7.60.0binaryArch Hurd
Hurd Arch 7.60.0sourceArch Hurd
IRIX
IRIX 6.5 7.15.1binaryThe Written Word
Linux
Linux ARM7.75.0binaryTravis Burtrum
Linux ARM647.75.0binaryTravis Burtrum
Linux i3867.75.0binaryTravis Burtrum
Linux i3867.30.0binaryErmine
Linux MIPSel7.17.1binary
Linux MIPSel7.10.7binaryMaciej W. Rozycki
Linux PPC647.75.0binaryTravis Burtrum
Linux StrongARM7.9.7binaryDominik Radziszowski
Linux x86_647.75.0binaryTravis Burtrum
Linux - Alpine
Linux Alpine 7.75.0sourceAlpine Linux
Linux - Alt
Linux Alt 7.75.0binary
Linux Alt 7.75.0devel
Linux Alt 7.75.0libcurl
Linux Alt 7.75.0source
Linux - Arch
Linux Arch StrongARM7.75.0binaryArch Linux
Linux Arch x86_647.75.0binaryArch Linux
Linux - Clear
Linux Clear 7.75.0binaryClear Linux
Linux - Core OS
Linux Core OS stable 7.71.1binaryCore OS
Linux - CRUX
Linux CRUX 3.5 7.74.0sourceJohannes Winkelmann
Linux - Debian
Linux Debian 7.74.0binaryDebian
Linux Debian 7.74.0develDebian
Linux Debian 7.74.0develDebian
Linux Debian 7.74.0libcurlDebian
Linux - Devuan
Linux Devuan 7.74.0binaryDevuan
Linux - Docker
Linux Docker 7.75.0binaryJames Fuller
Linux - Fedora
Linux Fedora 31 7.66.0sourcefedoraproject.org
Linux Fedora rawhide 7.75.0sourcefedoraproject.org
Linux Fedora 19 i3867.75.0binaryPaul Howarth
Linux Fedora 20 i3867.75.0binaryPaul Howarth
Linux Fedora 26 i3867.75.0binaryPaul Howarth
Linux Fedora 34 i3867.75.0binaryPaul Howarth
Linux Fedora 35 i3867.75.0binaryPaul Howarth
Linux Fedora RHEL7 i3867.75.0binaryPaul Howarth
Linux Fedora 25 PPC647.50.3binaryfedoraproject.org
Linux Fedora 30 PPC647.64.0binaryfedoraproject.org
Linux Fedora 20 x86_647.75.0binaryPaul Howarth
Linux Fedora 21 x86_647.75.0binaryPaul Howarth
Linux Fedora 26 x86_647.75.0binaryPaul Howarth
Linux Fedora 32 x86_647.75.0binaryPaul Howarth
Linux Fedora 33 x86_647.75.0binaryPaul Howarth
Linux Fedora 34 x86_647.75.0binaryPaul Howarth
Linux Fedora 35 x86_647.75.0binaryPaul Howarth
Linux Fedora RHEL7 x86_647.75.0binaryPaul Howarth
Linux Fedora RHEL8 x86_647.75.0binaryPaul Howarth
Linux - Frugalware
Linux Frugalware 7.75.0binary
Linux - Gentoo
Linux Gentoo 7.75.0source
Linux - GoboLinux
Linux GoboLinux 7.68.0devel
Linux - Guix
Linux Guix ARM7.74.0
Linux Guix i3867.74.0
Linux Guix x86_647.74.0
Linux - Linux From Scratch
Linux Linux From Scratch 7.75.0source
Linux - Maemo
Linux Maemo 3.2 7.15.5binary
Linux Maemo 3.2 7.15.5libcurl
Linux Maemo 4.0 7.15.5libcurl
Linux Maemo 4.1 7.15.5libcurl
Linux Maemo 5.0 7.18.2libcurl
Linux - Mageia
Linux Mageia ARM7.75.0binaryMageia
Linux Mageia ARM647.75.0binaryMageia
Linux Mageia i3867.75.0binaryMageia
Linux Mageia x86_647.75.0binaryMageia
Linux - NixOS
Linux NixOS 7.74.0sourceNixOS
Linux NixOS i3867.54.1binaryNixOS
Linux NixOS x86_647.74.0binaryNixOS
Linux - OpenEmbedded
Linux OpenEmbedded 7.75.0source
Linux - OpenWRT
Linux OpenWRT 8.09.2 ARM7.17.1binaryOpenWRT
Linux OpenWRT ARM647.50.0binaryOpenWRT
Linux OpenWRT AT917.50.0binaryOpenWRT
Linux OpenWRT 10.03 AVR327.19.6binaryOpenWRT
Linux OpenWRT 8.09.1 i3867.17.1binaryOpenWRT
Linux OpenWRT 8.09.1 MIPSel7.17.1binaryOpenWRT
Linux - PLD
Linux PLD 7.75.0source
Linux PLD Alpha7.16.1binary
Linux PLD Alpha7.16.1devel
Linux PLD i3867.16.1binary
Linux PLD i3867.16.1devel
Linux PLD PPC7.16.1binary
Linux PLD PPC7.16.1devel
Linux PLD Sparc7.16.1binary
Linux PLD Sparc7.16.1devel
Linux PLD x86_647.16.1binary
Linux - Redhat
Linux Redhat RHEL4 7.12.1sourceRed Hat
Linux Redhat RHEL5 7.15.5sourceRed Hat
Linux Redhat RHEL6 7.19.7sourceRed Hat
Linux Redhat RHEL7 7.29.0sourceCentOS
Linux Redhat RHEL8 7.61.1sourceCentOS
Linux Redhat 7.1 i3867.15.1binaryThe Written Word
Linux Redhat 9 i3867.15.1binaryThe Written Word
Linux Redhat RHEL2.1 i3867.15.1binaryThe Written Word
Linux Redhat RHEL3 i3867.15.1binaryThe Written Word
Linux Redhat RHEL3 x86_647.15.1binaryThe Written Word
Linux Redhat RHEL4 x86_647.15.1binaryThe Written Word
Linux Redhat RHEL7 x86_647.75.0binaryPaul Howarth
Linux Redhat RHEL8 x86_647.75.0binaryPaul Howarth
Linux - Slackware
Linux Slackware ARM7.75.0binaryARMedslack
Linux Slackware i3867.75.0binarySlackware
Linux Slackware PPC7.16.2binarySlackintosh
Linux Slackware S3907.12.2binarySlack/390 Project
Linux Slackware Sparc7.12.2binarySplack
Linux Slackware x86_647.75.0binarySlackware
Linux - SliTaz
Linux SliTaz 7.72.0sourceSliTaz
Linux - Source Mage
Linux Source Mage 7.54.1sourcesourcemage.org
Linux - Suse
Linux Suse i3867.75.0binaryopenSUSE
Linux Suse i3867.75.0developenSUSE
Linux Suse i3867.75.0libcurlopenSUSE
Linux Suse x86_647.75.0binaryopenSUSE
Linux - T2
Linux T2 7.74.0sourceT2
Linux - Tizen
Linux Tizen 2.4 7.40.1sourceTizen
Linux Tizen 2.3 ARM7.28.1binaryTizen
Linux - Ubuntu
Linux Ubuntu bionic 7.58.0binary
Linux Ubuntu focal 7.68.0binary
Linux Ubuntu groovy 7.68.0binary
Linux Ubuntu hirsute 7.74.0binary
Linux Ubuntu xenial 7.47.0binary
Linux - Unslung
Linux Unslung 7.17.1binaryPierre Kretschmer
Linux - Ångström
Linux Ångström ARM7.26.0binaryÅngström
Linux Ångström i3867.26.0binaryÅngström
Linux Ångström PPC7.24.0binaryÅngström
Mac OS X
Mac OS X 7.75.0sourceMacPorts
Mac OS X 7.75.0sourceHomebrew
Mac OS X 7.74.0sourceDaniel Johnson
Mac OS X 7.64.1sourceApple
Mac OS X PPC7.31.0develDaniel Johnson
Mac OS X PPC7.31.0libcurlDaniel Johnson
Mac OS X PPC7.28.0binaryDaniel Johnson
Midnight BSD
Midnight BSD 7.75.0binaryMidnight BSD
Minix
Minix 7.50.3sourceMinix
MiNT
MiNT 7.20.1binary
NetBSD
NetBSD 7.75.0source
NetWare
NetWare 7.75.0binaryGünter Knauf
NetWare 7.75.0binaryGünter Knauf
NetWare 7.75.0develGünter Knauf
Open Server
Open Server 5 7.15.1binarysco.com
Open Server 5 7.14.1binaryBrian K. White
OpenBSD
OpenBSD 7.75.0sourceChristian Weisgerber
OS/2
OS/2 7.36.0binaryPaul Smedley
Plan9
Plan9 7.28.1source9front
QNX
QNX 6 7.10.7binary
QNX 6.3 7.19.2binaryQOpenCD
QNX 6.5 7.21.7binaryQNX pkgsrc
RISC OS
RISC OS 7.11.0binaryJames Bursa
SailfishOS
SailfishOS 7.68.0Niel Nielsen
Solaris
Solaris i3867.75.0binaryOpenCSW
Solaris i3867.75.0libcurlOpenCSW
Solaris Sparc7.75.0binaryOpenCSW
Solaris Sparc7.75.0libcurlOpenCSW
Solaris Sparc647.75.0binaryOpenCSW
Solaris Sparc647.75.0libcurlOpenCSW
Solaris x86_647.75.0binaryOpenCSW
Solaris x86_647.75.0libcurlOpenCSW
Solaris - Illumos
Solaris Illumos 7.75.0binaryIllumos
Solaris - OpenIndiana
Solaris OpenIndiana 7.75.0OpenIndiana
Tru64 UNIX
Tru64 UNIX 4.0D 7.15.1binaryThe Written Word
Tru64 UNIX 5.1 7.15.1binaryThe Written Word
UnixWare
UnixWare 7.10.3binarysco.com
VMS
VMS 8.3 Alpha7.75.0binaryJohn E. Malmberg
VMS 8.4 Alpha7.75.0binaryJohn E. Malmberg
VMS 8.4 ia647.75.0binaryJohn E. Malmberg
VMS 7.3 VAX7.75.0binaryJohn E. Malmberg
Windows 32 bit
Windows 32 bit 7.75.0binarythe curl project
Windows 32 bit 7.75.0binaryChocolatey
Windows 32 bit 7.74.0libcurlVcpkg
Windows 32 bit 7.73.0binaryDirk Paehl
Windows 32 bit 7.64.1binaryStefan Kanthak
Windows 32 bit - cygwin
Windows 32 bit cygwin 7.75.0binaryCygwin
Windows 32 bit cygwin 7.75.0libcurlCygwin
Windows 64 bit
Windows 64 bit 7.75.0binarythe curl project
Windows 64 bit 7.75.0binaryChocolatey
Windows 64 bit 7.74.0libcurlVcpkg
Windows 64 bit 7.73.0binaryDirk Paehl
Windows 64 bit 7.64.1binaryStefan Kanthak
Windows 64 bit - cygwin
Windows 64 bit cygwin 7.75.0binaryCygwin
Windows 64 bit cygwin 7.75.0libcurlCygwin
This colour means the packaged version is the latest stable version available (7.75.0)!

More information on downloads is available from www.metalinker.org.

If you have newer archives or archives for platforms not already present in this table, we'd like to add them to this table with a pointer to your location. Mail curl-release and tell us!

Official curl docker images

The official curl docker images are available on Docker Hub: curlimages/curl.

Before you start using Yarn, you'll first need to install it on your system. There are many different ways to install Yarn, but a single one is recommended and cross-platform:

Install via npm

It is recommended to install Yarn through the npm package manager, which comes bundled with Node.js when you install it on your system.

Once you have npm installed you can run the following both to install and upgrade Yarn:

Alternatives

Click to expand / collapse

Alpine

On Alpine Linux (3.6+), you can install Yarn with apk.

Currently, there are no Alpine packages available for RC or nightly builds of Yarn. Please use the tarball:

Installation Script

One of the easiest ways to install Yarn on macOS and generic Unix environmentsis via our shell script. You can install Yarn by running the following code inyour terminal:

The installation process includes verifying a GPG signature.View the source on GitHub

You can also specify a version by running the following code in your terminal:

See the releases for possible versions.

Manual Install via tarball

You can install Yarn by downloading a tarball andextracting it anywhere.

Before extracting Yarn, it is recommended that you verify the tarball using GPG:

Path Setup

If Yarn is not found in your PATH, follow these steps to add it and allow it to be run from anywhere.

Note: your profile may be in your .profile, .bash_profile, .bashrc, .zshrc, etc.

Add
  1. Add this to your profile: export PATH='$PATH:/opt/yarn-[version]/bin' (the path may vary depending on where you extracted Yarn to)
  2. In the terminal, log in and log out for the changes to take effect

To have access to Yarn’s executables globally, you will need to set up the PATH environment variable in your terminal. To do this, add export PATH='$PATH:`yarn global bin`' to your profile, or if you use Fish shell, simply run the command set -U fish_user_paths (yarn global bin) $fish_user_paths

Arch Linux

On Arch Linux, Yarn can be installed through the official package manager.

Currently, there are no Arch packages available for RC or nightly builds of Yarn. Please use the tarball:

Installation Script

Add

One of the easiest ways to install Yarn on macOS and generic Unix environmentsis via our shell script. You can install Yarn by running the following code inyour terminal:

The installation process includes verifying a GPG signature.View the source on GitHub

You can also specify a version by running the following code in your terminal:

See the releases for possible versions.

Manual Install via tarball

You can install Yarn by downloading a tarball andextracting it anywhere.

Before extracting Yarn, it is recommended that you verify the tarball using GPG:

Path Setup

If Yarn is not found in your PATH, follow these steps to add it and allow it to be run from anywhere.

Note: your profile may be in your .profile, .bash_profile, .bashrc, .zshrc, etc.

  1. Add this to your profile: export PATH='$PATH:/opt/yarn-[version]/bin' (the path may vary depending on where you extracted Yarn to)
  2. In the terminal, log in and log out for the changes to take effect

To have access to Yarn’s executables globally, you will need to set up the PATH environment variable in your terminal. To do this, add export PATH='$PATH:`yarn global bin`' to your profile, or if you use Fish shell, simply run the command set -U fish_user_paths (yarn global bin) $fish_user_paths

CentOS / Fedora / RHEL

On CentOS, Fedora and RHEL, you can install Yarn via our RPM package repository.

If you do not already have Node.js installed, you should also configurethe NodeSource repository:

Then you can simply:

Currently, there are no RPM packages available for RC or nightly builds of Yarn. Please use the tarball:

Installation Script

One of the easiest ways to install Yarn on macOS and generic Unix environmentsis via our shell script. You can install Yarn by running the following code inyour terminal:

The installation process includes verifying a GPG signature.View the source on GitHub

You can also specify a version by running the following code in your terminal:

Alpine

See the releases for possible versions.

Manual Install via tarball

You can install Yarn by downloading a tarball andextracting it anywhere.

Before extracting Yarn, it is recommended that you verify the tarball using GPG:

Path Setup

If Yarn is not found in your PATH, follow these steps to add it and allow it to be run from anywhere.

Note: your profile may be in your .profile, .bash_profile, .bashrc, .zshrc, etc.

  1. Add this to your profile: export PATH='$PATH:/opt/yarn-[version]/bin' (the path may vary depending on where you extracted Yarn to)
  2. In the terminal, log in and log out for the changes to take effect

To have access to Yarn’s executables globally, you will need to set up the PATH environment variable in your terminal. To do this, add export PATH='$PATH:`yarn global bin`' to your profile, or if you use Fish shell, simply run the command set -U fish_user_paths (yarn global bin) $fish_user_paths

Debian / Ubuntu

On Debian or Ubuntu Linux, you can install Yarn via our Debian packagerepository. You will first need to configure the repository:

On Ubuntu 16.04 or below and Debian Stable, you will also need to configure the NodeSource repository to get a new enough version of Node.js.

Then you can simply:

Note: Ubuntu 17.04 comes with cmdtest installed by default. If you’re getting errors from installing yarn, you may want to run sudo apt remove cmdtest first. Refer to this for more information.

If using nvm you can avoid the node installation by doing:

Note: Due to the use of nodejs instead of node name in some distros, yarn might complain about node not being installed. A workaround for this is to add an alias in your .bashrc file, like so: alias node=nodejs. This will point yarn to whatever version of node you decide to use.

Path Setup

If Yarn is not found in your PATH, follow these steps to add it and allow it to be run from anywhere.

Note: your profile may be in your .profile, .bash_profile, .bashrc, .zshrc, etc.

  1. Add this to your profile: export PATH='$PATH:/opt/yarn-[version]/bin' (the path may vary depending on where you extracted Yarn to)
  2. In the terminal, log in and log out for the changes to take effect

To have access to Yarn’s executables globally, you will need to set up the PATH environment variable in your terminal. To do this, add export PATH='$PATH:`yarn global bin`' to your profile, or if you use Fish shell, simply run the command set -U fish_user_paths (yarn global bin) $fish_user_paths

Gentoo Linux

On Gentoo Linux, you can install Yarn with portage.

Currently, there are no Gentoo packages available for RC or nightly builds of Yarn. Please use the tarball:

Installation Script

One of the easiest ways to install Yarn on macOS and generic Unix environmentsis via our shell script. You can install Yarn by running the following code inyour terminal:

The installation process includes verifying a GPG signature.View the source on GitHub

You can also specify a version by running the following code in your terminal:

See the releases for possible versions.

Manual Install via tarball

You can install Yarn by downloading a tarball andextracting it anywhere.

Before extracting Yarn, it is recommended that you verify the tarball using GPG:

Path Setup

If Yarn is not found in your PATH, follow these steps to add it and allow it to be run from anywhere.

Note: your profile may be in your .profile, .bash_profile, .bashrc, .zshrc, etc.

  1. Add this to your profile: export PATH='$PATH:/opt/yarn-[version]/bin' (the path may vary depending on where you extracted Yarn to)
  2. In the terminal, log in and log out for the changes to take effect

To have access to Yarn’s executables globally, you will need to set up the PATH environment variable in your terminal. To do this, add export PATH='$PATH:`yarn global bin`' to your profile, or if you use Fish shell, simply run the command set -U fish_user_paths (yarn global bin) $fish_user_paths

macOS

Homebrew

You can install Yarn through the Homebrew package manager.This will also install Node.js if it is not already installed.

If you use nvm or similar, you should ensure that your PATH lists nvm’s shims before the version of Node.js installed by Homebrew.

MacPorts

You can install Yarn through MacPorts.This will also install Node.js if it is not already installed.

Installation Script

One of the easiest ways to install Yarn on macOS and generic Unix environmentsis via our shell script. You can install Yarn by running the following code inyour terminal:

The installation process includes verifying a GPG signature.View the source on GitHub

You can also specify a version by running the following code in your terminal:

See the releases for possible versions.

Manual Install via tarball

You can install Yarn by downloading a tarball andextracting it anywhere.

Before extracting Yarn, it is recommended that you verify the tarball using GPG:

Currently, there are no Homebrew or MacPorts packages available for RC or nightly builds of Yarn. Please use the tarball:

Installation Script

One of the easiest ways to install Yarn on macOS and generic Unix environmentsis via our shell script. You can install Yarn by running the following code inyour terminal:

The installation process includes verifying a GPG signature.View the source on GitHub

You can also specify a version by running the following code in your terminal:

Alpine Add Curl

See the releases for possible versions.

Manual Install via tarball

You can install Yarn by downloading a tarball andextracting it anywhere.

Before extracting Yarn, it is recommended that you verify the tarball using GPG:

Path Setup

If Yarn is not found in your PATH, follow these steps to add it and allow it to be run from anywhere.

Note: your profile may be in your .profile, .bash_profile, .bashrc, .zshrc, etc.

  1. Add this to your profile: export PATH='$PATH:/opt/yarn-[version]/bin' (the path may vary depending on where you extracted Yarn to)
  2. In the terminal, log in and log out for the changes to take effect

To have access to Yarn’s executables globally, you will need to set up the PATH environment variable in your terminal. To do this, add export PATH='$PATH:`yarn global bin`' to your profile, or if you use Fish shell, simply run the command set -U fish_user_paths (yarn global bin) $fish_user_paths

Upgrade Yarn

Yarn will warn you if a new version is available.To upgrade Yarn, you can do so with Homebrew.

Solus

On Solus, you can install yarn via the Solus repository.

Currently, there are no Solus packages available for RC or nightly builds of Yarn. Please use the tarball:

Installation Script

One of the easiest ways to install Yarn on macOS and generic Unix environmentsis via our shell script. You can install Yarn by running the following code inyour terminal:

The installation process includes verifying a GPG signature.View the source on GitHub

You can also specify a version by running the following code in your terminal:

See the releases for possible versions.

Manual Install via tarball

Alpine Linux Apk Add Curl

You can install Yarn by downloading a tarball andextracting it anywhere.

Before extracting Yarn, it is recommended that you verify the tarball using GPG:

Path Setup

If Yarn is not found in your PATH, follow these steps to add it and allow it to be run from anywhere.

Note: your profile may be in your .profile, .bash_profile, .bashrc, .zshrc, etc.

  1. Add this to your profile: export PATH='$PATH:/opt/yarn-[version]/bin' (the path may vary depending on where you extracted Yarn to)
  2. In the terminal, log in and log out for the changes to take effect

To have access to Yarn’s executables globally, you will need to set up the PATH environment variable in your terminal. To do this, add export PATH='$PATH:`yarn global bin`' to your profile, or if you use Fish shell, simply run the command set -U fish_user_paths (yarn global bin) $fish_user_paths

Windows

There are three options for installing Yarn on Windows.

Download the installer

This will give you a .msi file that when run will walk you through installingYarn on Windows.

If you use the installer you will first need to installNode.js.

Download InstallerDownload Installer (RC)Download Installer (Nightly)

Install via Chocolatey

Chocolatey is a package manager for Windows.You can install Chocolatey by followingthese instructions.

Once you have Chocolatey installed, you may install yarn by running thefollowing code in your console:

This will also ensure that you have Node.js installed.

Install via Scoop

Scoop is a command-line installer for Windows.You can install Scoop by followingthese instructions.

Once you have Scoop installed, you may install yarn by running thefollowing code in your console:

If Node.js is not installed, scoop will give you a suggestion to install it.Example:

Add

Notice

Please whitelist your project folder and the Yarn cache directory (%LocalAppData%Yarn) in your antivirus software, otherwise installing packages will be significantly slower as every single file will be scanned as it’s written to disk.

Alternatives

If you are using another OS or one of the other options specific to your OSwill not work for you, there are a couple of alternatives. You will need toinstall Node.js if you don’t already have it installed.

On common Linux distributions such as Debian, Ubuntu and CentOS, it isrecommended to install Yarn via our packages instead.

Installation Script

One of the easiest ways to install Yarn on macOS and generic Unix environmentsis via our shell script. You can install Yarn by running the following code inyour terminal:

The installation process includes verifying a GPG signature.View the source on GitHub

You can also specify a version by running the following code in your terminal:

See the releases for possible versions.

Manual Install via tarball

You can install Yarn by downloading a tarball andextracting it anywhere.

Before extracting Yarn, it is recommended that you verify the tarball using GPG:

Path Setup

Unix/Linux/macOS

If Yarn is not found in your PATH, follow these steps to add it and allow it to be run from anywhere.

Note: your profile may be in your .profile, .bash_profile, .bashrc, .zshrc, etc.

  1. Add this to your profile: export PATH='$PATH:/opt/yarn-[version]/bin' (the path may vary depending on where you extracted Yarn to)
  2. In the terminal, log in and log out for the changes to take effect

To have access to Yarn’s executables globally, you will need to set up the PATH environment variable in your terminal. To do this, add export PATH='$PATH:`yarn global bin`' to your profile, or if you use Fish shell, simply run the command set -U fish_user_paths (yarn global bin) $fish_user_paths

Alpine Add Curly

Windows

You will need to set up the PATH environment variable in your terminal to have access to Yarn’s binaries globally.

Add set PATH=%PATH%;C:.yarnbin to your shell environment.

Check installation

Check that Yarn is installed by running: