Sometimes you may need to use a configuration file to change the behavior of the nu client. Learn how to locate your data directory, and create a conf file.
First you’ll need to find the Nu data directory. This directory location will be different depending on the operating system you’re using. The table below can assist you in finding it.
Data directories are hidden by default
Operating System | Default Data Directory Path |
---|---|
Windows 8/7/2K8/Vista | C:\Users\%USERNAME%\AppData\Roaming\nu |
Windows XP/2K3/2K | C:\Documents and Settings\%USERNAME%\Application Data\nu |
Linux | ~/.nu |
OS X | ~/Library/Application\ Support/Nu |
After locating the nu folder in your data directory create a new file called nu.conf. Make sure to keep it all lowercase.
Now you can add commands to your conf file that will change the behavior of the wallet client and daemon when they are started. The sample file below shows you some common commands. For a list of other commands you can enter into the conf file visit the Client Commands page.
Make sure the file is being saved in plain text. If you accidentally saved the file in a format such as .doc or .rtf Nu will not be able to use it.
A sample nu.conf file:
Adding comments to the conf file
Lines that start with # are comments, and are ignored