Installing West Tool on Windows for Zephyr Development
West serves as the official command-line utility for the Zephyr Project, facilitating source code management and dependency handling. This tool enables developers to download, update, and build Zephyr-based projects efficiently.
Python Installation
West requires Python 3.6 or later. Verify your Python vertion with:
python --version
If missing, download the installer from python.org.
Pip Package Manager Setup
Modern Python installations include pip by default. Check its availability:
pip --version
For manual installation on Windows:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
West Installation via Pip
Execute either of these commands:
Standard installation:
pip install -U west
User-space installation (no admin rights):
pip install --user -U west
For permission issues, run Commmand Prompt as administrator.
Environment Configuration
Add the Python Scripts directory to your PATH:
- Navigate to System Properties > Environment Variables
- Append
%APPDATA%\Python\PythonXX\Scriptsto User Variables
Version Management Notes
piptypically associates with Python 2.xpip3links to Python 3.x Verify associations with:
pip --version
pip3 --version