# Aliases You can assign an alias to a Datasette database using the `dclient alias` command: dclient alias add content https://datasette.io/content You can list aliases with `dclient alias list`: $ dclient alias list content = https://datasette.io/content Once registered, you can pass an alias to commands such as `dclient query`: dclient query content "select * from news limit 1" ## dclient alias --help ``` Usage: dclient alias [OPTIONS] COMMAND [ARGS]... Manage aliases for different instances Options: --help Show this message and exit. Commands: add Add an alias list List aliases remove Remove an alias ``` ## dclient alias list --help ``` Usage: dclient alias list [OPTIONS] List aliases Example usage: dclient aliases list Options: --json Output raw JSON --help Show this message and exit. ``` ## dclient alias add --help ``` Usage: dclient alias add [OPTIONS] NAME URL Add an alias Example usage: dclient alias add content https://datasette.io/content Then: dclient query content 'select * from news limit 3' Options: --help Show this message and exit. ``` ## dclient alias remove --help ``` Usage: dclient alias remove [OPTIONS] NAME Remove an alias Example usage: dclient alias remove content Options: --help Show this message and exit. ```