Unable to install SDK via Manage SDKs in VSCode

Hi,

I am trying to install NCS v3.0.1 on Ubuntu 24.04 PC and I get the following error.

Looks like ZEPHYR_BASE is not setup. I am trying to follow the Fundamentals Course on DevAcademy. 

[15:03:56] nrfutil-sdk-manager toolchain,install,--ncs-version,v3.0.1: Download toolchain v3.0.1
[15:04:51] =========== Toolchain validation report for Zephyr SDK 0.17.0 ===========
️❗️ nrfjprog couldn't be executed. Please ensure that SEGGER J-Link Software and Documentation Pack and nRF Command Line Tools are both installed.
[15:04:53] nrfutil-sdk-manager toolchain,install,--ncs-version,v3.0.1: Toolchain downloaded: success
[15:04:53] nrfutil-sdk-manager toolchain,install,--ncs-version,v3.0.1: Unpack toolchain v3.0.1
[15:05:04] nrfutil-sdk-manager toolchain,install,--ncs-version,v3.0.1: Toolchain unpacked to /home/navin/ncs/tmp/.tmpL2bwFg: success
[15:05:04] nrfutil-sdk-manager toolchain,install,--ncs-version,v3.0.1: Install toolchain v3.0.1
[15:05:04] nrfutil-sdk-manager toolchain,install,--ncs-version,v3.0.1: Toolchain installed at /home/navin/ncs/toolchains/7cbc0036f4: success
[15:05:15] nrfutil-sdk-manager sdk,install,v3.0.1,--sdk-path,/home/navin/ncs/v3.0.1: Download SDK v3.0.1
[15:06:25] nrfutil-sdk-manager sdk,install,v3.0.1,--sdk-path,/home/navin/ncs/v3.0.1: null: success
[15:06:25] nrfutil-sdk-manager sdk,install,v3.0.1,--sdk-path,/home/navin/ncs/v3.0.1: Calculating SDK checksum
[15:06:28] nrfutil-sdk-manager sdk,install,v3.0.1,--sdk-path,/home/navin/ncs/v3.0.1: Verified download: success
[15:06:28] nrfutil-sdk-manager sdk,install,v3.0.1,--sdk-path,/home/navin/ncs/v3.0.1: Unpack SDK v3.0.1
[15:06:40] nrfutil-sdk-manager sdk,install,v3.0.1,--sdk-path,/home/navin/ncs/v3.0.1: Unpacked SDK tarball: success
[west]: usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
[west]: west: unknown command "zephyr-export"; workspace /home/navin/ncs/v3.0.1 does not define this extension command -- try "west help"

[west]: exited with code 1.

Is there something that I am missing?

Parents
  • Additional info generated by the Support tool.

    // IMPORTANT: The following data can contain sensitive or confidential information about your environment.
    // If you do not want others to see this information, make sure to remove it before sharing the data.
    
    // For help and support, visit Nordic Semiconductor's DevZone at https://devzone.nordicsemi.com/.
    
    {
      "platform": {
        "os": "linux",
        "osVersion": "#25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2",
        "osKernel": "6.11.0-25-generic",
        "vscode": "1.100.0",
        "electron": "34.5.1",
        "node": "v20.19.0",
        "name": "Ubuntu",
        "id": "ubuntu",
        "version": "24.04.2 LTS (Noble Numbat)",
        "versionId": "24.04"
      },
      "system": {
        "date": "2025-05-12T15:46:31.298Z",
        "vscodeRoot": "/snap/code/192/usr/share/code/resources/app",
        "nrfConnectForDesktopInstalled": "unknown",
        "vscodeUptime": "00:00:06",
        "osUptime": "00:22:07",
        "cpu": "AMD Ryzen 9 7945HX with Radeon Graphics"
      },
      "workspace": {
        "name": "untitled",
        "workspaceFile": null,
        "folders": [
          "/home/navin/untitled"
        ]
      },
      "sdks": [],
      "apps": [
        {
          "workspace": "/home/navin/untitled",
          "uri": "/home/navin/untitled",
          "buildConfigurations": []
        }
      ],
      "toolchains": [
        {
          "version": "3.0.1",
          "path": "/home/navin/ncs/toolchains/7cbc0036f4"
        }
      ],
      "connectedDevices": [],
      "tools": {
        "/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc": "0.17.0",
        "/opt/SEGGER/JLink/JLinkExe": "8.10",
        "/usr/local/bin/nrfutil": "8.0.0",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin/cmake": "3.21.0",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin/west": "1.2.0",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin/python3": "3.12.4",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin/ninja": "1.10.2",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/bin/gperf": "3.1",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/bin/dtc": "1.5.0",
        "/home/navin/ncs/toolchains/7cbc0036f4/opt/bin/gn": "2132",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin/git": "2.37.3",
        "arm-gdbPath": "/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb",
        "riscv-gdbPath": "/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gdb"
      },
      "nrfutil": {
        "nrfutil-device": {
          "version": "2.8.8",
          "binPath": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-connect-2025.4.186-linux-x64/platform/nrfutil/bin/nrfutil-device",
          "jlinkInfo": {
            "description": "This version of SEGGER J-Link is different from the J-Link version that was used to test nrfutil device commands",
            "expectedVersion": {
              "version": "JLink_V8.18",
              "versionFormat": "string"
            },
            "name": "JlinkARM",
            "version": "JLink_V8.10",
            "versionFormat": "string"
          }
        },
        "nrfutil-sdk-manager": {
          "version": "1.2.0",
          "binPath": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-connect-2025.4.186-linux-x64/platform/nrfutil/bin/nrfutil-sdk-manager"
        }
      },
      "environment": {
        "westEnv": {
          "GIT_EXEC_PATH": "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/libexec/git-core",
          "HOME": "/home/navin",
          "PATH": "/home/navin/ncs/toolchains/7cbc0036f4/usr/bin:/home/navin/ncs/toolchains/7cbc0036f4/usr/bin:/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin:/home/navin/ncs/toolchains/7cbc0036f4/opt/bin:/home/navin/ncs/toolchains/7cbc0036f4/opt/nanopb/generator-bin:/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/arm-zephyr-eabi/bin:/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/riscv64-zephyr-elf/bin:/home/navin/.asdf/shims:/home/navin/.rbenv/shims:/home/navin/.rbenv/bin:/home/navin/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/navin/.local/share/JetBrains/Toolbox/scripts:/home/navin/.rvm/bin:/home/navin/.rvm/bin:/home/navin/.asdf/shims:/home/navin/.rbenv/shims:/home/navin/.rbenv/bin:/home/navin/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/navin/.local/share/JetBrains/Toolbox/scripts:/home/navin/.rvm/bin:/home/navin/.rvm/bin",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk",
          "PYTHONPATH": "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/lib/python3.12:/home/navin/ncs/toolchains/7cbc0036f4/usr/local/lib/python3.12/site-packages",
          "USER": "navin"
        },
        "inherited": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "/home/navin",
          "PATH": "/home/navin/.asdf/shims:/home/navin/.rbenv/shims:/home/navin/.rbenv/bin:/home/navin/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/navin/.local/share/JetBrains/Toolbox/scripts:/home/navin/.rvm/bin:/home/navin/.rvm/bin",
          "USER": "navin"
        }
      },
      "terminal": {
        "defaultProfile": null
      },
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "",
          "toolchain": {
            "path": ""
          },
          "ozonePath": "",
          "applications": [],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig"
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "taskBindings": {},
          "buildTerminal": {
            "condensedProgress": true
          },
          "debugging": {
            "flash": true,
            "bindings": {},
            "justMyCode": false
          },
          "activeAppFollowActiveEditor": true,
          "flash": {
            "softreset": false,
            "erase": false,
            "recover": false
          },
          "enableTelemetry": false,
          "thirdpartyIntegration": {},
          "toolchainManager": {
            "indexURL": null,
            "installDirectory": null
          },
          "nrfutil": {
            "home": null
          },
          "defaultOpenAction": "ask",
          "terminalProfile": {
            "shell": null
          }
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        }
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2025.4.186",
            "path": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-connect-2025.4.186-linux-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2024.9.14",
            "path": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-terminal-2024.9.14",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2025.4.22",
            "path": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-devicetree-2025.4.22",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2025.4.26",
            "path": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-kconfig-2025.4.26",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": null,
          "ms-vscode.cpptools": "1.25.3",
          "ms-vscode.js-debug": "1.100.0",
          "ms-vscode.js-debug-companion": "1.1.3",
          "ms-vscode.vscode-js-profile-table": "1.0.10",
          "ms-vscode.cmake-tools": "1.20.53",
          "ms-vscode.cpptools-extension-pack": "1.3.1",
          "ms-vscode.cpptools-themes": "2.0.0",
          "nextbook.file-and-folder-icons": "1.0.4",
          "trond-snekvik.gnu-mapfiles": "1.1.0"
        }
      }
    }
    
    

Reply
  • Additional info generated by the Support tool.

    // IMPORTANT: The following data can contain sensitive or confidential information about your environment.
    // If you do not want others to see this information, make sure to remove it before sharing the data.
    
    // For help and support, visit Nordic Semiconductor's DevZone at https://devzone.nordicsemi.com/.
    
    {
      "platform": {
        "os": "linux",
        "osVersion": "#25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2",
        "osKernel": "6.11.0-25-generic",
        "vscode": "1.100.0",
        "electron": "34.5.1",
        "node": "v20.19.0",
        "name": "Ubuntu",
        "id": "ubuntu",
        "version": "24.04.2 LTS (Noble Numbat)",
        "versionId": "24.04"
      },
      "system": {
        "date": "2025-05-12T15:46:31.298Z",
        "vscodeRoot": "/snap/code/192/usr/share/code/resources/app",
        "nrfConnectForDesktopInstalled": "unknown",
        "vscodeUptime": "00:00:06",
        "osUptime": "00:22:07",
        "cpu": "AMD Ryzen 9 7945HX with Radeon Graphics"
      },
      "workspace": {
        "name": "untitled",
        "workspaceFile": null,
        "folders": [
          "/home/navin/untitled"
        ]
      },
      "sdks": [],
      "apps": [
        {
          "workspace": "/home/navin/untitled",
          "uri": "/home/navin/untitled",
          "buildConfigurations": []
        }
      ],
      "toolchains": [
        {
          "version": "3.0.1",
          "path": "/home/navin/ncs/toolchains/7cbc0036f4"
        }
      ],
      "connectedDevices": [],
      "tools": {
        "/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc": "0.17.0",
        "/opt/SEGGER/JLink/JLinkExe": "8.10",
        "/usr/local/bin/nrfutil": "8.0.0",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin/cmake": "3.21.0",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin/west": "1.2.0",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin/python3": "3.12.4",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin/ninja": "1.10.2",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/bin/gperf": "3.1",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/bin/dtc": "1.5.0",
        "/home/navin/ncs/toolchains/7cbc0036f4/opt/bin/gn": "2132",
        "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin/git": "2.37.3",
        "arm-gdbPath": "/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb",
        "riscv-gdbPath": "/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gdb"
      },
      "nrfutil": {
        "nrfutil-device": {
          "version": "2.8.8",
          "binPath": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-connect-2025.4.186-linux-x64/platform/nrfutil/bin/nrfutil-device",
          "jlinkInfo": {
            "description": "This version of SEGGER J-Link is different from the J-Link version that was used to test nrfutil device commands",
            "expectedVersion": {
              "version": "JLink_V8.18",
              "versionFormat": "string"
            },
            "name": "JlinkARM",
            "version": "JLink_V8.10",
            "versionFormat": "string"
          }
        },
        "nrfutil-sdk-manager": {
          "version": "1.2.0",
          "binPath": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-connect-2025.4.186-linux-x64/platform/nrfutil/bin/nrfutil-sdk-manager"
        }
      },
      "environment": {
        "westEnv": {
          "GIT_EXEC_PATH": "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/libexec/git-core",
          "HOME": "/home/navin",
          "PATH": "/home/navin/ncs/toolchains/7cbc0036f4/usr/bin:/home/navin/ncs/toolchains/7cbc0036f4/usr/bin:/home/navin/ncs/toolchains/7cbc0036f4/usr/local/bin:/home/navin/ncs/toolchains/7cbc0036f4/opt/bin:/home/navin/ncs/toolchains/7cbc0036f4/opt/nanopb/generator-bin:/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/arm-zephyr-eabi/bin:/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/riscv64-zephyr-elf/bin:/home/navin/.asdf/shims:/home/navin/.rbenv/shims:/home/navin/.rbenv/bin:/home/navin/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/navin/.local/share/JetBrains/Toolbox/scripts:/home/navin/.rvm/bin:/home/navin/.rvm/bin:/home/navin/.asdf/shims:/home/navin/.rbenv/shims:/home/navin/.rbenv/bin:/home/navin/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/navin/.local/share/JetBrains/Toolbox/scripts:/home/navin/.rvm/bin:/home/navin/.rvm/bin",
          "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
          "ZEPHYR_SDK_INSTALL_DIR": "/home/navin/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk",
          "PYTHONPATH": "/home/navin/ncs/toolchains/7cbc0036f4/usr/local/lib/python3.12:/home/navin/ncs/toolchains/7cbc0036f4/usr/local/lib/python3.12/site-packages",
          "USER": "navin"
        },
        "inherited": {
          "ELECTRON_RUN_AS_NODE": "1",
          "HOME": "/home/navin",
          "PATH": "/home/navin/.asdf/shims:/home/navin/.rbenv/shims:/home/navin/.rbenv/bin:/home/navin/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/navin/.local/share/JetBrains/Toolbox/scripts:/home/navin/.rvm/bin:/home/navin/.rvm/bin",
          "USER": "navin"
        }
      },
      "terminal": {
        "defaultProfile": null
      },
      "config": {
        "nordic-semiconductor.nrf-connect": {
          "topdir": "",
          "toolchain": {
            "path": ""
          },
          "ozonePath": "",
          "applications": [],
          "applicationOptions": {},
          "kconfig": {
            "interface": "kconfig"
          },
          "west": {
            "env": {
              "$base": "terminal"
            }
          },
          "boardRoots": [],
          "taskBindings": {},
          "buildTerminal": {
            "condensedProgress": true
          },
          "debugging": {
            "flash": true,
            "bindings": {},
            "justMyCode": false
          },
          "activeAppFollowActiveEditor": true,
          "flash": {
            "softreset": false,
            "erase": false,
            "recover": false
          },
          "enableTelemetry": false,
          "thirdpartyIntegration": {},
          "toolchainManager": {
            "indexURL": null,
            "installDirectory": null
          },
          "nrfutil": {
            "home": null
          },
          "defaultOpenAction": "ask",
          "terminalProfile": {
            "shell": null
          }
        },
        "nordic-semiconductor.nrf-terminal": {
          "terminalMode": "character"
        }
      },
      "extensions": {
        "internal": {
          "nordic-semiconductor.nrf-connect": {
            "version": "2025.4.186",
            "path": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-connect-2025.4.186-linux-x64",
            "isActive": true
          },
          "nordic-semiconductor.nrf-terminal": {
            "version": "2024.9.14",
            "path": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-terminal-2024.9.14",
            "isActive": true
          },
          "nordic-semiconductor.nrf-devicetree": {
            "version": "2025.4.22",
            "path": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-devicetree-2025.4.22",
            "isActive": true
          },
          "nordic-semiconductor.nrf-kconfig": {
            "version": "2025.4.26",
            "path": "/home/navin/.vscode/extensions/nordic-semiconductor.nrf-kconfig-2025.4.26",
            "isActive": true
          }
        },
        "external": {
          "marus25.cortex-debug": null,
          "ms-vscode.cpptools": "1.25.3",
          "ms-vscode.js-debug": "1.100.0",
          "ms-vscode.js-debug-companion": "1.1.3",
          "ms-vscode.vscode-js-profile-table": "1.0.10",
          "ms-vscode.cmake-tools": "1.20.53",
          "ms-vscode.cpptools-extension-pack": "1.3.1",
          "ms-vscode.cpptools-themes": "2.0.0",
          "nextbook.file-and-folder-icons": "1.0.4",
          "trond-snekvik.gnu-mapfiles": "1.1.0"
        }
      }
    }
    
    

Children
No Data
Related