Exploring nautobot-server CLI commands
Nautobot includes a command-line interface (CLI) management utility called nautobot-server
that is used as the entry point for common administrative tasks. For those familiar with Django applications, this CLI utility works exactly as a project’s manage.py
script would, except that it comes bundled with the Nautobot code and, therefore, it’s automatically installed in the bin
directory of your application environment.
Since Nautobot is a Django application, several other built-in management commands are provided by Django itself. We’ll only cover some of the commands provided by either Nautobot or Django, so please read the Nautobot documentation to learn more about the available commands.
Creating a superuser account
Whether you’re creating your first superuser (as you did in Chapter 3) or you need to create another one (if you don’t have access to the Admin UI), you can use the createsuperuser
command...