2 min read
When downloading and installing software downloaded from internet on macOS, you might encounter a frustrating "Killed: 9
" error immediately after trying to run the binary. This issue is caused by macOS Gatekeeper security feature that quarantines downloaded files to protect against potentially malicious software.
In this case we are downloading the openshift-client from RedHat, but we won't be able to run it:
$ tar xzvf openshift-client-mac-arm64.tar.gz
x README.md
x oc
x kubectl
$ mv oc ../local/bin/
$ oc
Killed: 9
21/07/2025
Read more...3 min read
Homebrew is a popular package manager for macOS (also available for Linux), allowing developers to distribute their software through simple brew install
commands. We are going to use a Python project to create a Homebrew formula and distribuite it using a tap.
06/09/2024
Read more...2 min read
On Apple Silicon-based Macs we have the arch command that will allow us to to run a selected architecture of a universal binary. By default, the operating system will select the architecture that most closely matches the processor type.
The arch command can be used to alter the operating system's normal selection order.
30/08/2023
Read more...2 min read
Have you encountered the invalid active developer path error while trying, for example, to use git on your macOS system? This error occurs because Git requires the Command Line Tools for Xcode to be installed on your system (typically you'll encounter this after updating the system)
$ git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
06/04/2023
Read more...2 min read
Some commands might be safe to execute while connected to some environments, but can definitely break stuff is applied to the wrong Kubernetes cluster. However, having to execute kubectl config current-context too ofter to make sure we are connected to the right cluster is no fun either.
With kubectx tray we can have a small icon on the tray bar to help us identify what's the current cluster.
30/11/2022
Read more...