Skip to content
Shimon's BlogShimon's Blog
主页
杂谈
  • 主页
      • 代码笔记
          • Linux
            • CentOS 教程
              • 管理工具
                • yarn
                • ssh
                  • WSL

                CentOS 教程

                Shimon Zhan2019年11月23日
                • Linux
                小于 1 分钟

                此页内容
                • 管理工具
                • yarn

                # 管理工具

                • yum (Centos 7)
                • dnf (Centos 8)

                # yarn

                curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
                
                sudo yum install yarn
                ## OR ##
                sudo dnf install yarn
                

                测试是否安装成功:

                yarn --version
                
                上次编辑于: 2022/4/19 07:13:07
                贡献者: ShimonZhan
                Copyright © 2021-present Shimon Zhan