QQiuyue1111Update EN docs
6e6c3f85创建于 2023年12月20日历史提交

Go Back | 中文

Quick Start

Video

您的浏览器不支持 video 标签。

Traditional Method

Download & Deploy

  • Method No.1:one-click installation
    • For Mac/Linux Users
      curl -sSL https://raw.githubusercontent.com/XmirrorSecurity/OpenSCA-cli/master/scripts/install.sh | sh
      
      # Try this when internet connection fails
      curl -sSL https://gitee.com/XmirrorSecurity/OpenSCA-cli/raw/master/scripts/install.sh | sh -s -- gitee
      
  • Method No.2:via Homebrew (Mac/Linux)
    brew install opensca-cli
    
  • Method No.3:Download executable program and decompress from GitHub or Gitee

Use OpenSCA

Report dependencies of the given directory

opensca-cli -path ${project_path}

Report dependencies and get info of vuls & licenses from cloud knowledge base

Register first register and get token

opensca-cli -path ${project_path} -token ${token}

Docker

Report dependencies of the given directory

docker run -ti --rm -v ${project_path}:/src opensca/opensca-cli:latest

Report dependencies and get info of vuls & licenses from cloud knowledge base

Register first register and get token

docker run -ti --rm -v ${project_path}:/src opensca/opensca-cli:latest -token ${token}