Edge Impulse does not officially support the Raspberry Pi Zero W hardware, and if you attempt to follow the official documentation meant for installing it on an a Raspberry Pi 4, on a Pi Zero W, the installation will fail.
Since the only hardware I had on hand was the Pi Zero W, I experimented for a while and managed to get it working. If you would like to try this for yourself see the instructions below.
Install Pi OS Legacy (buster) on the Pi Zero W board using the Raspberry Pi Imager application. Do NOT install Bullseye.
These commands replace those from the official documentation in the section 2. Installing dependencies . At the time of writing this, the version was: Edge Impulse Linux client v1.3.1
Thank you so much, I tried this but was getting error for npm config set user root && sudo npm install edge-impulse-linux -g --unsafe-perm
Resolved this by upgrading npm version to 6.14.15,
sudo npm install -g npm@6.14.15
and then –
npm config set user root && sudo npm install edge-impulse-linux -g --unsafe-perm