Skip to main content
Important: Edge Impulse requires Node.js version 16 or later. For the best experience, we recommend using Node.js 22 (the current LTS version with active support). Using older versions may lead to installation issues or runtime errors. Please ensure you have the correct version installed before proceeding with the setup.
  1. Create an Edge Impulse account.
  2. Install Python 3 on your host computer.
  3. Install Node.js v16.x+ or above on your host computer. Alternatively, run the following commands:
    The last command should return the node version, v16 or above. Let’s verify the node installation directory:
    If it returns /usr/local/, run the following commands to change npm’s default directory:
    On MacOS you might be using zsh as default, so you will want to update the correct profile
  4. Install the CLI tools via:
You should now have the tools available in your PATH.

Troubleshooting

General

This error occurs when you have upgraded Node.js since installing the Edge Impulse CLI. Re-install the CLI via:
This will rebuild the dependencies.

macOS

This is indication that the node_modules is not owned by you, but rather by root. This is probably not what you want. To fix this, run:
This can happen even though you have Xcode CLT installed if you’ve updated macOS since your install. Follow this guide to reinstall Xcode CLT.
If you see this error message and you’re behind a proxy you will need to set your proxy settings via:

Linux

Try to set the npm user to root and re-run the installation command. You can do this via:
Manually delete the Edge Impulse directory from node_modules and reinstall:
If you see this error message and you’re behind a proxy you will need to set your proxy settings via:

Windows

If you receive an error such as:
You’re running an older version of node-gyp (a way to build binary packages). Upgrade via:
This error indicates an issue occurred when installing the edge-impulse-cli for the first time or you have not selected to install the addition tools when installing NodeJS (not selected by default).Remove NodeJS and install it again selecting the option:
Re-install the CLI via
If you see this error message and you’re behind a proxy you will need to set your proxy settings via:
If you receive an error as such:
It might indicates some restrictions due to your IT policies. Try installing the CLI using the WSL method.WSL provides an isolated environment that can be configured independently of your main Windows setup. In some cases, network and SSL/TLS configurations can be more easily managed or bypassed in a Linux environment.
If you receive the following error: The tools version "2.0" is unrecognized. Available tools versions are "4.0", launch a new command window as administrator and run: