nacosctl
is a command-line tool for managing Nacos. It provides a set of commands and subcommands for managing users, roles, permissions, and namespaces.
nacosctl <command> <subcommand> [arguments]
- list: List users, roles, permissions, or namespaces.
- add: Add a user, role, permission, or namespace.
- del: Delete a user, role, permission, or namespace.
- edit: Edit a user or namespace.
- user: Manage users.
- role: Manage roles.
- permissions (Short command: p): Manage permissions.
- namespace (Short command: ns): Manage namespaces.
- --help: Show help for the specific command and subcommand.
nacosctl list user
nacosctl add user supinfo supinfopass
nacosctl edit user supinfo newpassword