Desktop Plus includes a CLI that lets you open repositories and clone them directly from the terminal.
desktop-plus-cli Open the current directory
desktop-plus-cli open [path] Open the provided path
desktop-plus-cli clone [-b branch] <url> Clone a repository by URL or name/owner (e.g. torvalds/linux)
If you find desktop-plus-cli too long to type, you can create a shorter alias in your shell (e.g. github-plus, or even just github to match the upstream CLI name).
Examples below create an alias called dp-cli for the CLI. You can replace dp-cli with your preferred alias.
Add this line to your PowerShell profile (open it with notepad $PROFILE):
Set-Alias dp-cli desktop-plus-cliAdd this line to your ~/.bashrc or ~/.zshrc:
alias dp-cli='desktop-plus-cli'Run once:
alias --save dp-cli desktop-plus-cli