<?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>nrfprog : &amp;quot;--family : command not found&amp;quot; error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18192/nrfprog---family-command-not-found-error</link><description>-I was following this link- &amp;quot; devzone.nordicsemi.com/.../&amp;quot; and installed SEGGER JLink.
(all on Ubuntu)
-Installed gcc-arm and changed the tool chain path on Makefile.posix.
-Now am able to build the SDK eexamples. But am not able to run commands of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Feb 2021 15:41:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18192/nrfprog---family-command-not-found-error" /><item><title>RE: nrfprog : "--family : command not found" error</title><link>https://devzone.nordicsemi.com/thread/294218?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2021 15:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfd5e122-7d94-4a32-b5c8-d11dfd95b48c</guid><dc:creator>doozMen</dc:creator><description>&lt;p&gt;You should do&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_ses%2FUG%2Fgsg%2Finstall_nrf_command_line_tools.html&amp;amp;anchor=:~:text=%20Complete%20the%20following%20steps%20to%20install%20the,nrfjprog%20--versionIf...%203%20Click%20OK%20twice.%20More"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_ses%2FUG%2Fgsg%2Finstall_nrf_command_line_tools.html&amp;amp;anchor=:~:text=%20Complete%20the%20following%20steps%20to%20install%20the,nrfjprog%20--versionIf...%203%20Click%20OK%20twice.%20More &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I found the instructions not to well with the toolchain manager. Now when opening the toolchain manager [windows/macOS] and looking at the installed toolchain their is an arrow.&lt;/p&gt;
&lt;p&gt;On windows I could open bash, on macOS it did not work. However when in bash you should run export=/C/Program\ Files/Nordic\ Semiconductor/nrf-command-line-tools/bin:$PATH&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2021_2D00_02_2D00_12-at-16.37.52.png" /&gt;&lt;/p&gt;
&lt;p&gt;In the above make sure to add the backslahses correctly! In bash / = \ and \ is exclude space!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfprog : "--family : command not found" error</title><link>https://devzone.nordicsemi.com/thread/70238?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 11:00:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ae2ab1f-d8a2-4143-bd40-bf1604e9bcb3</guid><dc:creator>butch</dc:creator><description>&lt;p&gt;I think the tutorial doesn&amp;#39;t actually &lt;em&gt;install&lt;/em&gt; nrfjprog in the sense that it copies it to a standard location where the shell expects to find commands (e.g. /usr/local/bin or other.)  On my dev system, I downloaded and unpacked to ~/Downloads/nrfjprog (a directory with many files including the executable nrfjprog) and I changed the Makefiles to refer to it.  If you need to run nrfjprog from the command line, then as Jorgen says, you can modify the PATH variable in your env, or simply type the full pathname when you use it:  ~/Downloads/nrfjprog/nrfjprog.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfprog : "--family : command not found" error</title><link>https://devzone.nordicsemi.com/thread/70237?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 10:05:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b0da3ba-2ce3-4a01-af0d-8461c438df79</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Sounds like the tool is not installed correctly. Are you inside the directory where you extracted nrfjprog when running the command? You should be able to run the tool from any directory by adding it to the PATH environment variable: &lt;code&gt;export PATH=&amp;quot;/path/to/nrfjprog:$PATH&amp;quot;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfprog : "--family : command not found" error</title><link>https://devzone.nordicsemi.com/thread/70236?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 09:58:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8ee6d5a-c33c-4abc-96e9-6280fd2fbb1e</guid><dc:creator>pradeepc</dc:creator><description>&lt;p&gt;when I run the command - &amp;quot;nrfjprog -v&amp;quot; , I am getting - &amp;quot;nrfjprog: command not found&amp;quot;.
May be am going wrong in installing it or running the command in a different path.
Could you please help me on this.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards
Pradeep.C&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfprog : "--family : command not found" error</title><link>https://devzone.nordicsemi.com/thread/70235?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 09:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d5bedd1-c02a-416b-8c47-e1dd8fbabea5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Which version of nrfjprog are you using? You can check this with the command &lt;code&gt;nrfjprog -v&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>