Install#
Info
To update an existing installation, run the same command.
Version#
Check your installed version of Dub CLI:
Commands#
Below is a list of available commands in the Dub CLI:
dub login
Log into the Dub platform:
dub config
View your workspace credentials:
dub domains
Configure a domain for URL shortening:
dub shorten
Create a short link:
You can preemptively pass the URL and the generated short link key, or go through the CLI prompts.
dub links
Search for links in your Dub workspace:
Here are the available options:
| Option | Description |
|---|---|
-s, --search <search> | Search by name |
-l, --limit <limit> | Limit the number of results (default is 10) |
dub help
Get help for a specific command:
Demo#
Watch the Dub CLI in action: