Installation

Azure DevOps

  1. Visit the Tuyen CLI Task page on Azure Marketplace.

  2. Click Get it free and add it to your organization.

  3. Include the Tuyen CLI task in your pipeline:

    steps:
      - task: TuyenCli@1
    
  4. Verify the installation by running:

    steps:
      - script: tuyen -h
    

GitHub

  1. Add the Tuyen CLI action to your workflow:

    steps:
      - uses: tuyen-at-work/tuyen-cli-action@master
    
  2. Verify the installation by running:

    steps:
      - run: tuyen -h
    

Local Installation

MacOS and Linux

Linux users — The unzip package is required to install Tuyen CLI. Use sudo apt install unzip to install unzip package. Kernel version 5.6 or higher is strongly recommended, but the minimum is 5.1. Use uname -r to check Kernel version.

curl -fsSL https://cli.tuyen.blog/install.sh | bash # for macOS, Linux, and WSL

Windows

To install, paste this into a terminal:

powershell -c "irm cli.tuyen.blog/install.ps1 | iex"