Skip to main content
The commands on this page manage the CLI itself rather than a NeetoDesk resource, so none of them have an API-reference counterpart.

login

Signs in to a workspace through your browser and saves the session. The CLI prompts for your subdomain unless you pass one.
See Authentication for the full flow and where credentials are stored.

logout

Signs out and clears the saved credentials. With one workspace signed in, no flags are needed; with several, name one with --subdomain or clear them all with --all.

whoami

Reports which account is signed in, and on which workspace. With several workspaces signed in, it lists all of them.

doctor

Checks authentication, connectivity to your workspace and the CLI version. Every check runs independently, so one failure does not hide the next. Start here when something is not working.

version

Prints the CLI version. Include it when reporting a problem.

update

Replaces the binary in place with the latest release. If you installed through Homebrew, run brew upgrade neetodesk instead so the formula stays in step.

setup

Installs NeetoDesk instructions into an AI coding assistant. See AI assistants for what each subcommand writes and where.

commands

Prints the full command catalog as JSON. The command reference on this site is generated from its output.

Shell completion

neetodesk completion <shell> writes the completion script under ~/.config/neetodesk/completions and wires your shell to load it on the next start. There is nothing to source by hand.
Start a new shell afterwards so the completion script is loaded. Re-running the command refreshes both the script and the shell configuration.
Re-run neetodesk completion <shell> after every upgrade. The installed script lists the commands that existed when it was written, so without a refresh new commands will not complete.
To inspect the script rather than install it, pass --print and it goes to standard output instead: