<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrF Connect SDK VSCode install fails: &amp;quot;[west]: exited with code -4058&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125765/nrf-connect-sdk-vscode-install-fails-west-exited-with-code--4058</link><description>Context: Windows 10 Pro x64 up to date; VSCode 1.106.2 (installed fresh 2025-11-20); nRF Connect SDK: nrfconnect-setup-5.2.0-x64.exe (downloaded 2025-11-20) 
 Install VSCode; download and run nrfconnect-setup-5.2.0-x64.exe, follow the prompts to install</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Nov 2025 10:23:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125765/nrf-connect-sdk-vscode-install-fails-west-exited-with-code--4058" /><item><title>RE: nrF Connect SDK VSCode install fails: "[west]: exited with code -4058"</title><link>https://devzone.nordicsemi.com/thread/555484?ContentTypeID=1</link><pubDate>Wed, 26 Nov 2025 10:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e18c523c-31a6-46af-a34a-0cbd5521e363</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;No worries!&lt;/p&gt;
[quote user="Al."]still shows no extensions installed[/quote]
&lt;p&gt;Right, the VS Code extension needs to be installed separately from the SDK. You can install this&amp;nbsp;easily inside VS Code in the Extensions tab.&lt;/p&gt;
[quote user="Al."]If&amp;nbsp; the sdk and toolchain is installed via the command line, how to sync this with VSCode?[/quote]
&lt;p&gt;If you install NCS to a custom path, you will need to point the extension to nrfutil as path information is stored in the nrfutil configuration.&amp;nbsp;You will find this in the settings for the extensions (see attached image).&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1764152442477v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;
&lt;p&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrF Connect SDK VSCode install fails: "[west]: exited with code -4058"</title><link>https://devzone.nordicsemi.com/thread/555464?ContentTypeID=1</link><pubDate>Wed, 26 Nov 2025 08:58:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9840a36-83ba-49bc-808a-a9288a6892fc</guid><dc:creator>Al.</dc:creator><description>&lt;p&gt;Hello Benjamin,&lt;/p&gt;
&lt;p&gt;Sorry, I started out by replying to a different ticket (Case ID: 345961), so you wouldn&amp;#39;t have seen what I&amp;#39;ve already tried. Following Ovynd&amp;#39;s suggestion there, I started this ticket.&lt;/p&gt;
&lt;p&gt;From my posts in ticket 345961:&lt;/p&gt;
&lt;p&gt;Despite my doubts (see comment below), I did try this. (nrfutil sdk-manager install .....) but with current version (v3.1.1) and my path (d:\data\programfiles\nordic\ncs.&lt;/p&gt;
&lt;p&gt;It appeared to download and unpack successfully - the resulting ncs directory is 10GB! But how does haveing done this relate to or effect the extension for nRF development in VSCode? &lt;strong&gt;VSCode still shows no extensions installed.&lt;/strong&gt; I&amp;#39;m guessing if I go to install the extension from within VSCode it will go through the process exactly as before, and assume the install-dir is c:\ncs.&lt;/p&gt;
&lt;p&gt;If&amp;nbsp; the sdk and toolchain is installed via the command line, how to sync this with VSCode?&lt;/p&gt;
&lt;p&gt;-----&lt;/p&gt;
&lt;p&gt;This looks to me like a bug in the installation / integration of nrf Connect with VS Code. The install directory is hard-coded to c:\ncs, and cannot be overridden when following the official install instructions. This same problem occurs when following the instructions to install using nRF Connect SDK download, and when following the instructions to install from within VS Code.&lt;/p&gt;
&lt;p&gt;Is this a bug? Can you reproduce on your end? That is: &lt;strong&gt;following the Nordic published instructions&lt;/strong&gt;, do a fresh install to any drive other than c:.&lt;/p&gt;
&lt;h1 class="name"&gt;&lt;/h1&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrF Connect SDK VSCode install fails: "[west]: exited with code -4058"</title><link>https://devzone.nordicsemi.com/thread/555348?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2025 09:24:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e808000d-155c-40a3-82b8-6fe9f8795892</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Could you try setting &lt;span&gt;--sdk-path and&amp;nbsp;--install-dir to the same&amp;nbsp;&lt;/span&gt;drive?&lt;br /&gt;&lt;br /&gt;Something like:&lt;br /&gt;&lt;span&gt;&lt;code&gt;nrfutil sdk-manager install v3.1.1 --sdk-path d:\ncs\v3.0.1 --install-dir d:\ncs&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrF Connect SDK VSCode install fails: "[west]: exited with code -4058"</title><link>https://devzone.nordicsemi.com/thread/555280?ContentTypeID=1</link><pubDate>Mon, 24 Nov 2025 19:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb6cb419-abce-4a7c-95ca-b8415ca6d3b9</guid><dc:creator>Al.</dc:creator><description>&lt;p&gt;Yes of course there is anti-virus s/w. There are no alerts during the install, and no indication in my system logs that access to my selected install location was blocked.I have installed numerous software packages - including VS Code - to that same drive/folder (D:\Data\ProgramFiles) over the years and have never encountered an issue before. Also, the error messages from your tool(s) DO NOT mention any access or permission errors. However THEY DO complain about --sdk-path and --install-dir being on different drives.&lt;/p&gt;
&lt;p&gt;I am not trying to install on different drives. I was asked for only a single path, which apparently set the value of the --sdk-path flag to some command-line tool. Where in your scripts is --install-path being set? Why isn&amp;#39;t it set to the directory that I chose?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It appears that --install-path = c:\ncs is hard-coded. Is it possible to install to a location on a non-system drive? How and/or where is --install-path set?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrF Connect SDK VSCode install fails: "[west]: exited with code -4058"</title><link>https://devzone.nordicsemi.com/thread/555188?ContentTypeID=1</link><pubDate>Mon, 24 Nov 2025 11:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b30540c2-fd22-414e-a60f-5d45d6eb26b2</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Do you have any anti-virus software on your computer? Try pausing/disabling it. I have seen similar issues where this was&amp;nbsp;the cause.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>