ncs-env-setup

Configure and validate the Nordic nRF Connect SDK environment for west workflows.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/chshzh/charlie-skills --skill ncs-env-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ncs-env-setup
Source: https://github.com/chshzh/charlie-skills/tree/main/Developer/ncs/env-setup
Command: npx skills add https://github.com/chshzh/charlie-skills --skill ncs-env-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers set up and maintain a reliable Nordic nRF Connect SDK (NCS) environment, ensuring west-based workflows run smoothly and consistently.

Core Features & Use Cases

  • Environment provisioning: Configure PATH and toolchains for NCS builds across different SDK versions.
  • West workflow readiness: Source zephyr-env.sh and prepare the environment for common west commands like build, flash, and update.
  • Use Case: When starting a new Nordic project, quickly establish the correct SDK path and toolchain setup to begin development without manual configuration.

Quick Start

Start by selecting your SDK path (e.g., /opt/nordic/ncs/v3.2.1) or the main branch, then run setup steps to configure the environment and verify tooling.

Frequently Asked Questions about ncs-env-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up the nRF Connect SDK environment for west commands?

To set up the nRF Connect SDK environment, you must configure the PATH, identify the correct toolchain, and source zephyr-env.sh. This prepares the environment for west-based workflows like building, flashing, and updating.

What is zephyr-env.sh used for in the nRF Connect SDK?

Zephyr-env.sh is a script sourced to prepare the nRF Connect SDK environment for west commands. It ensures the necessary environment variables and PATH configurations are set before executing build, flash, or update operations.

Can I configure the NCS environment for multiple SDK versions?

Yes, the NCS environment setup applies to building, flashing, and running west commands across multiple SDK versions. You can select a specific SDK path, such as /opt/nordic/ncs/v3.2.1, or the main branch to configure the toolchain.

How to start a new Nordic project using the nRF Connect SDK?

To start a new Nordic project, select your nRF Connect SDK path and run the setup steps to configure the environment. This quickly establishes the correct SDK path and toolchain setup, allowing development to begin without manual configuration.

Do I need to manually configure PATH for the nRF Connect SDK?

No, manual PATH configuration is handled automatically during the nRF Connect SDK environment setup. The process applies PATH setup and toolchain identification, ensuring the environment is prepared for west-based workflows.

Why does my west build fail after a fresh nRF Connect SDK installation?

West builds can fail if the NCS environment is not properly configured, particularly if zephyr-env.sh has not been sourced. Running the environment setup validates the PATH and toolchain identification, ensuring west commands execute smoothly.