<?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>Setting up terminal environment with nRF Toolchain</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118903/setting-up-terminal-environment-with-nrf-toolchain</link><description>Hi, 
 I’m currently working on a Zephyr project using the nRF Connect SDK, and I am looking for a way to setup the toolchain for my terminal emulator (specifically using zsh). I don&amp;#39;t want to rely on any external Toolchain Managers or such, and was hoping</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 16 Feb 2025 00:48:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118903/setting-up-terminal-environment-with-nrf-toolchain" /><item><title>RE: Setting up terminal environment with nRF Toolchain</title><link>https://devzone.nordicsemi.com/thread/523133?ContentTypeID=1</link><pubDate>Sun, 16 Feb 2025 00:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1d31b73-771a-49bc-af20-639e95e069b7</guid><dc:creator>manu</dc:creator><description>&lt;p&gt;Ok, I didn&amp;#39;t realize the tool can generate a script. I suppose it will do. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up terminal environment with nRF Toolchain</title><link>https://devzone.nordicsemi.com/thread/523132?ContentTypeID=1</link><pubDate>Sun, 16 Feb 2025 00:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65f65867-849c-4b3a-98b5-437ee122ee2b</guid><dc:creator>manu</dc:creator><description>&lt;p&gt;Thanks will check it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up terminal environment with nRF Toolchain</title><link>https://devzone.nordicsemi.com/thread/523110?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 23:19:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27bfc789-8c73-46f1-9387-98cae71ab02c</guid><dc:creator>Jakob Ruhe</dc:creator><description>&lt;p&gt;Hi manu,&lt;/p&gt;
&lt;p&gt;I wrote a script recently that is working for me. I published it now so that others can use it. Here it is:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/jakeru/nrfenv"&gt;https://github.com/jakeru/nrfenv&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope it is useful for you as well!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up terminal environment with nRF Toolchain</title><link>https://devzone.nordicsemi.com/thread/522984?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 08:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae83be21-92bc-4923-9e6d-5a1139cbbe5f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]I don&amp;#39;t want to rely on any external Toolchain Managers or such, and was hoping there would a simple shell script to activate the toolchain but couldn&amp;#39;t find any.[/quote]
&lt;p&gt;I found that using the toolchain manager app in nRF Connect for Desktop gives me this functionality. I know you said you didn&amp;#39;t want to &amp;quot;rely on any external Toolchain Manager&amp;quot;, but if you use it to set it up once, you can call it directly from any command line later.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So what I do is that I install the SDK and Toolchain via nRF Connect for Desktop -&amp;gt; Toolchain Manager. After that, there is a drop down arrow next to the NCS version that I installed, which has an option: &amp;quot;Generate Environment Script&amp;quot;:&lt;/p&gt;
&lt;p&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/pastedimage1739523222269v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Now, save this file somewhere on your computer, and add the location of that file to your environment path. You may want to name the file somewhat related to the NCS version that it represents. As an example, I call mine NCS_2.9.0.cmd. When this is added to path, I can write &amp;quot;NCS_2.9.0&amp;quot; in any terminal window, and it will set up the toolchain and path for me, and I can continue with &amp;quot;west build -b ...&amp;quot;.&lt;/p&gt;
&lt;p&gt;Is that something that can work for you?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>