# ngd - NextGraph Daemon ## Usage ### Create the first admin user ``` ngcli gen-key ngd --save-key -d -l 1440 --admin // note the server peerID in the logs ngcli --save-key -s 127.0.0.1,1440, -u admin add-user -a ``` you should see a message `User added successfully`. to check that the admin user has been created : ``` ngcli --save-key -s 127.0.0.1,1440, -u admin list-users -a ``` should return your userId you can now save the configs of both the server and client ``` ngd -d -l 1440 --save-config ngcli -s 127.0.0.1,1440, -u --save-config ```