For MacBook M1, some parts of the scripts may not work.
The example error may look like this: Error: unsupported platform OS_TYPE: Darwin, OS_ARCH: arm64; to mitigate this problem set variable KYMA with the absolute path to kyma-cli binary compatible with your operating system and architecture. Stop.
Kyma CLI is not released for Apple Silicon users.
Install Kyma CLI manually and export the path to it.
export KYMA=$(which kyma)