This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Changing install directory of nRF Connect SDK

We are looking to get started evaluating the nRF5340 with the DK on Windows 10, but our User directories all have spaces in them (they default to our names and are not changeable).  It looks like nRF Connect doesn't let you change the directory to anything other than your user directory, is there a way around this?

Unfortunately, CMake doesn't allow the spaces, so nothing will build.  We would typically just make a new folder in c:\ to deal with this.

Parents Reply Children
  • Then you should be able to edit the path to whatever you want under Settings and change Installation Directory to what fits you. E.g. I'm using C:\NordicSemi. 

    The Toolchain Manager will install a sandbox solution where everything is found in the folder that you install, i.e. NCS 1.4.0 will give the folder structure C:\NordicSemi\v1.4.0 and its own toolchain subfolder which includes all SW needed to work with NCS, along with the NCS repository.

    Kind regards,
    Øyvind

  • Just in case anyone else runs into the same issue - you just have to uninstall and remove everything from within the nRF Connect application, then cut C:\Users\Name\AppData\Local\programs\nrfconnect and paste it to a directory with no spaces in the path (C:\Nordic or similar works fine).  Then you can reinstall everything, picking new subdirectories without spaces in the paths as well and everything works fine.

Related