One-liner open source tool installation on debian-based Linux

Last updated on October 19, 2021.

awscli AWS CLI

Download Page: https://docs.aws.amazon.com/cli/latest/userguide/welcome-versions.html#welcome-versions-v2

awscliversion=; curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o /tmp/awscliv2.zip && unzip /tmp/awscliv2.zip -d /tmp && sudo /tmp/aws/install --update

colorpicker A mininal but complete colorpicker desktop app

Download Page: https://github.com/Toinane/colorpicker/releases

Colorpicker is a desktop tool with Electron to get and save colors code quickly for OSX, Windows and Linux!

colorpickerversion=2.0.3; curl -fsSL https://github.com/Toinane/colorpicker/releases/download/${colorpickerversion}/colorpicker_${colorpickerversion}_amd64.deb -o /tmp/colorpicker.deb && sudo dpkg -i /tmp/colorpicker.deb

flameshot Powerful yet simple to use screenshot software

Download Page: https://github.com/flameshot-org/flameshot/releases

Powerful yet simple to use screenshot software 🖥📸.

flameshotversion=0.10.1; curl -fsSLo /tmp/flameshot.deb https://github.com/flameshot-org/flameshot/releases/download/v${flameshotversion}/flameshot-${flameshotversion}-1.ubuntu-20.04.amd64.deb && sudo apt install /tmp/flameshot.deb

jq Command-line JSON processor

Download Page: https://github.com/stedolan/jq/releases

jq is a lightweight and flexible command-line JSON processor.

jqversion=1.6; mkdir -p ~/bin && curl -fsSLo ~/bin/jq https://github.com/stedolan/jq/releases/download/jq-$jqversion/jq-linux64 && chmod +x ~/bin/jq

k3d k3s in docker

Download Page: https://github.com/rancher/k3d/releases

k3s is the lightweight Kubernetes distribution by Rancher: rancher/k3s

k3d creates containerized k3s clusters. This means, that you can spin up a multi-node k3s cluster on a single machine using docker.

k3dversion=5.0.1; mkdir -p ~/bin && curl -fsSL https://github.com/rancher/k3d/releases/download/v${k3dversion}/k3d-linux-amd64 -o ~/bin/k3d && chmod +x ~/bin/k3d

k9s 🐕 Kubernetes CLI To Manage Your Clusters In Style!

Download Page: https://github.com/derailed/k9s/releases

K9s provides a terminal UI to interact with your Kubernetes clusters. The aim of this project is to make it easier to navigate, observe and manage your applications in the wild. K9s continually watches Kubernetes for changes and offers subsequent commands to interact with your observed resources.

k9sversion=0.24.15; mkdir -p ~/bin && curl -fsSL https://github.com/derailed/k9s/releases/download/v$k9sversion/k9s_Linux_x86_64.tar.gz | tar -C ~/bin -xvzf -  --wildcards --no-anchored k9s

kubectl Kubernetes CLI

Download Page: https://github.com/kubernetes/kubectl/releases

The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs.

kubectlversion=1.22.2; echo The lastest version is $(curl -L -s https://dl.k8s.io/release/stable.txt) && mkdir -p ~/bin && cd ~/bin && curl -fsSL https://dl.k8s.io/release/v${kubectlversion}/bin/linux/amd64/kubectl -o kubectl-${kubectlversion} && chmod +x kubectl-${kubectlversion} && rm -rf kubectl && ln -s kubectl-${kubectlversion} kubectl

ncdu NCurses Disk Usage

Download Page: https://dev.yorhel.nl/ncdu

Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote server where you don’t have an entire graphical setup available, but it is a useful tool even on regular desktop systems. Ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed.

ncduversion=1.16; mkdir -p ~/bin && curl -fsSL https://dev.yorhel.nl/download/ncdu-linux-x86_64-${ncduversion}.tar.gz | tar -C ~/bin -xvzf -

cloudsql-proxy GCP Cloud SQL proxy client

Download Page: https://github.com/GoogleCloudPlatform/cloudsql-proxy/releases

The Cloud SQL Auth proxy is a binary that provides IAM-based authorization and encryption when connecting to a Cloud SQL instance.

sqlproxyversion=1.26.0; mkdir -p ~/bin && curl -fsSL https://storage.googleapis.com/cloudsql-proxy/v${sqlproxyversion}/cloud_sql_proxy.linux.amd64 -o ~/bin/cloud_sql_proxy && chmod +x ~/bin/cloud_sql_proxy

SOPS Secrets OPerationS

Download Page: https://github.com/mozilla/sops/releases

sops is an editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY formats and encrypts with AWS KMS, GCP KMS, Azure Key Vault, age, and PGP.

sopsversion=3.7.1; mkdir -p ~/bin && curl -fsSLo ~/bin/sops https://github.com/mozilla/sops/releases/download/v${sopsversion}/sops-v${sopsversion}.linux && chmod +x ~/bin/sops

Terraform Write, Plan, Apply

Download Page: https://www.terraform.io/downloads.html

Terraform is an open-source infrastructure as code software tool that provides a consistent CLI workflow to manage hundreds of cloud services. Terraform codifies cloud APIs into declarative configuration files.

terraformversion=1.0.9; curl -fsSLo /tmp/terraform.zip https://releases.hashicorp.com/terraform/$terraformversion/terraform_${terraformversion}_linux_amd64.zip && mkdir -p ~/bin/ && unzip -o /tmp/terraform.zip -d ~/bin/

yq Command-line YAML processor

Download Page: https://github.com/mikefarah/yq/releases

A lightweight and portable command-line YAML processor. yq uses jq like syntax but works with yaml files as well as json. It doesn’t yet support everything jq does - but it does support the most common operations and functions, and more is being added continuously.

yq is written in go - so you can download a dependency free binary for your platform and you are good to go! If you prefer there are a variety of package managers that can be used as well as docker, all listed below.

yqversion=v4.13.4; mkdir -p ~/bin && curl -fsSL https://github.com/mikefarah/yq/releases/download/$yqversion/yq_linux_amd64 -o ~/bin/yq && chmod +x ~/bin/yq
comments powered by Disqus