Installing the Zephyr tool chain on MacOS

When attempting to download the latest SDK installer. I am unable to install the SDK from Github using the command line prompt “cd ~
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.4/zephyr-sdk-0.16.4_macos-x86_64.tar.xz”. I am using the virtual environment per the instruction, but when I enter the prompt I’m told that “zsh: command is not found: wget (.venv)…”. I have gone directly to the URL and downloaded the .tar.xz file directly to my machine as a workaround. As you may know, this did not work. I then searched for a solution and came across a suggestion to use “curl -” in place of “wget”. Any helpful advice, as I am a novice to using Golioth?

Hey @rprysork,

The section you are referring to is specific to Zephyr and the Installing the Zephyr SDK Toolchain section.

You can use wget command, but first, you need to install it with brew install wget

From the Zephyr Getting Started Guide, you can also use the curl command:

cd ~

curl -L -O https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.8/zephyr-sdk-0.16.8_macos-x86_64.tar.xz

curl -L https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.8/sha256.sum | shasum --check --ignore-missing

If your host architecture is 64-bit ARM (Apple Silicon), replace x86_64 with aarch64 in order to download the 64-bit ARM macOS SDK.

Thank you for your help. This advice solved my problem.

1 Like