All Projects → tektoncd → Cli

tektoncd / Cli

Licence: apache-2.0
A CLI for interacting with Tekton!

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Cli

Ttyplot
a realtime plotting utility for terminal/console with data input from stdin
Stars: ✭ 532 (+132.31%)
Mutual labels:  cli, pipeline
Cli Prompt
Allows you to prompt for user input on the command line, and optionally hide the characters they type
Stars: ✭ 228 (-0.44%)
Mutual labels:  cli
Gitlab Cli
Create a merge request from command line in gitlab
Stars: ✭ 224 (-2.18%)
Mutual labels:  cli
Vocabs
📚 A lightweight online dictionary integration to the command line. No browsers. No paperbacks.
Stars: ✭ 226 (-1.31%)
Mutual labels:  cli
Geo
🌎 A Bash utility for easy wan, lan, router, dns, mac address, and geolocation output, with clean stdout for piping
Stars: ✭ 225 (-1.75%)
Mutual labels:  cli
Cat Names
🐈 Get popular cat names
Stars: ✭ 226 (-1.31%)
Mutual labels:  cli
Go Termd
Package termd provides terminal markdown rendering, with code block syntax highlighting support.
Stars: ✭ 223 (-2.62%)
Mutual labels:  cli
Ssr Helper
A CLI helper of ShadowsocksR Python
Stars: ✭ 230 (+0.44%)
Mutual labels:  cli
Awesomescripts
A Collection of Awesome Scripts in Python to Ease Daily-Life. Create an issue If you have some great idea for the new script. Leave a ⭐️
Stars: ✭ 228 (-0.44%)
Mutual labels:  cli
Automlpipeline.jl
A package that makes it trivial to create and evaluate machine learning pipeline architectures.
Stars: ✭ 223 (-2.62%)
Mutual labels:  pipeline
Localeapp
Send and retrieve your ruby i18n localizations to the Locale translation service
Stars: ✭ 225 (-1.75%)
Mutual labels:  cli
Parrotsay
✨🐦 The Party Parrot on your terminal 🐦✨
Stars: ✭ 224 (-2.18%)
Mutual labels:  cli
Archivy
Archivy is a self-hosted knowledge repository that allows you to safely preserve useful content that contributes to your own personal, searchable and extendable wiki.
Stars: ✭ 2,746 (+1099.13%)
Mutual labels:  cli
Php Console Spinner
Colorful highly configurable spinner for php cli applications (suitable for async apps)
Stars: ✭ 225 (-1.75%)
Mutual labels:  cli
Tmux Fzf Url
🚀 Quickly open urls on your terminal screen!
Stars: ✭ 227 (-0.87%)
Mutual labels:  cli
Insider
Static Application Security Testing (SAST) engine focused on covering the OWASP Top 10, to make source code analysis to find vulnerabilities right in the source code, focused on a agile and easy to implement software inside your DevOps pipeline. Support the following technologies: Java (Maven and Android), Kotlin (Android), Swift (iOS), .NET Full Framework, C#, and Javascript (Node.js).
Stars: ✭ 216 (-5.68%)
Mutual labels:  cli
Dcos Cli
The command line for DC/OS.
Stars: ✭ 225 (-1.75%)
Mutual labels:  cli
Toast
A go package for Windows 10 toast notifications
Stars: ✭ 225 (-1.75%)
Mutual labels:  cli
Alert After
Get a desktop notification after a command finishes executing.
Stars: ✭ 230 (+0.44%)
Mutual labels:  cli
Ten Hands
⚡ Simplest way to organize and run command-line tasks
Stars: ✭ 228 (-0.44%)
Mutual labels:  cli

Tekton Pipelines cli

Go Report Card

Tekton logo

The Tekton Pipelines cli project provides a CLI for interacting with Tekton!

Installing tkn

Download the latest binary executable for your operating system:

  • Mac OS X

    • tektoncd-cli is available from brew:
    brew install tektoncd-cli
    
    # Get the tar.xz
    curl -LO https://github.com/tektoncd/cli/releases/download/v0.17.0/tkn_0.17.0_Darwin_x86_64.tar.gz
    # Extract tkn to your PATH (e.g. /usr/local/bin)
    sudo tar xvzf tkn_0.17.0_Darwin_x86_64.tar.gz -C /usr/local/bin tkn
    
  • Windows

    choco install tektoncd-cli --confirm
    
    • Or by the released zip file in the instructions below:

    • Uncompress the zip file

    • Add the location of where the executable is to your Path by opening Control Panel>System and Security>System>Advanced System Settings

    • Click on Environment Variables, select the Path variable, and click Edit

    • Click New and add the location of the uncompressed zip to the Path

    • Finish by clicking Ok

Linux tarballs

  • Linux AMD 64

    # Get the tar.xz
    curl -LO https://github.com/tektoncd/cli/releases/download/v0.17.0/tkn_0.17.0_Linux_x86_64.tar.gz
    # Extract tkn to your PATH (e.g. /usr/local/bin)
    sudo tar xvzf tkn_0.17.0_Linux_x86_64.tar.gz -C /usr/local/bin/ tkn
    
  • Linux ARM 64

    # Get the tar.xz
    curl -LO https://github.com/tektoncd/cli/releases/download/v0.17.0/tkn_0.17.0_Linux_arm64.tar.gz
    # Extract tkn to your PATH (e.g. /usr/local/bin)
    sudo tar xvzf tkn_0.17.0_Linux_arm64.tar.gz -C /usr/local/bin/ tkn
    
  • Linux IBM Z

    # Get the tar.gz
    curl -LO https://github.com/tektoncd/cli/releases/download/v0.17.0/tkn_0.17.0_Linux_s390x.tar.gz
    # Extract tkn to your PATH (e.g. /usr/local/bin)
    sudo tar xvzf tkn_0.17.0_Linux_s390x.tar.gz -C /usr/local/bin/ tkn
    
  • Linux IBM P

    # Get the tar.gz
    curl -LO https://github.com/tektoncd/cli/releases/download/v0.17.0/tkn_0.17.0_Linux_ppc64le.tar.gz
    # Extract tkn to your PATH (e.g. /usr/local/bin)
    sudo tar xvzf tkn_0.17.0_Linux_ppc64le.tar.gz -C /usr/local/bin/ tkn
    

Linux RPMs

If you are running on any of the following rpm based distros:

  • Fedora30
  • Fedora31
  • Centos7
  • Centos8
  • EPEL
  • RHEL8

you would be able to use @chmouel's unofficial copr package repository by running the following commands:

dnf copr enable chmouel/tektoncd-cli
dnf install tektoncd-cli

On any other RPM based distros, you can install the rpm directly:

 rpm -Uvh https://github.com/tektoncd/cli/releases/download/v0.17.0/tektoncd-cli-0.17.0_Linux-64bit.rpm

Linux Debs

If you are running on the latest LTS Ubuntu or Debian, you can use the TektonCD CLI PPA:

sudo apt update;sudo apt install -y gnupg
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3EFE0E0A2F2F60AA
echo "deb http://ppa.launchpad.net/tektoncd/cli/ubuntu focal main"|sudo tee /etc/apt/sources.list.d/tektoncd-ubuntu-cli.list
sudo apt update && sudo apt install -y tektoncd-cli

The PPA may work with older releases, but that hasn't been tested.

On any other Debian or Ubuntu based distro, you can simply install the binary package directly with dpkg:

curl -LO https://github.com/tektoncd/cli/releases/download/v0.14qqq.0/tektoncd-cli-0.17.0_Linux-64bit.deb
dpkg -i tektoncd-cli-0.17.0_Linux-64bit.deb

NixOS/Nix

You can install tektoncd-cli from nixpkgs on any system that supports the nix package manager.

nix-env --install tektoncd-cli

Homebrew on Linux

You can install the latest tektoncd-cli if you are using Homebrew on Linux as for the osx version you need to simply do :

brew install tektoncd-cli

Source install

If you have go installed and you want to compile the CLI from source, you can checkout the Git repository and run the following commands:

export GO111MODULE=on
make bin/tkn

This will output the tkn binary in bin/tkn

tkn as a kubectl plugin

kubectl will find any binary named kubectl-* on your PATH and consider it as a plugin. After installing tkn, create a link as kubectl-tkn

$ ln -s /usr/local/bin/tkn /usr/local/bin/kubectl-tkn

Run the following to confirm tkn is available as a plugin:

$ kubectl plugin list

You should see the following after running kubectl plugin list if tkn is available as a plugin:

/usr/local/bin/kubectl-tkn

If the output above is shown, run kubectl-tkn to see the list of available tkn commands to run.

Useful Commands

The following commands help you understand and effectively use the Tekton CLI:

For every tkn command, you can use -h or --help flags to display specific help for that command.

Disable Color and Emojis in Output

For many tkn commands, color and emojis by default will appear in command output. tkn offers two approaches for disabling color and emojis from command output.

To remove the color and emojis from all tkn command output, set the environment variable NO_COLOR, such as shown below:

export NO_COLOR=""

More information on NO_COLOR can be found in the NO_COLOR documentation.

To remove color and emojis from the output of a single command execution, the --no-color option can be used with any command, such as in the example below:

tkn taskrun describe --no-color

Want to contribute

We are so excited to have you!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].