@uipath/cli
v0.1.7
Published
Cross platform CLI for UiPath
Maintainers
Keywords
Readme
UiPath CLI (uip)
A command-line interface tool for interacting with UiPath Cloud services. The CLI provides authentication, session management, and a plugin system for extending functionality with additional tools.
Installation
Using npm
npm install -g @uipath/cliUsing bun
bun install -g @uipath/cliAfter installation, the uip command will be available globally.
Quick Start
Login to UiPath Cloud
uip loginCheck your login status
uip login-statusView available commands
uip --help
Commands
Authentication
uip login
Authenticate with UiPath Cloud using interactive OAuth login.
Options:
-f, --file <folder>- Path to credentials folder (default:.uipath)--authority <url>- Custom authority URL--client-id <id>- Custom Client ID-s, --scope <scopes>- Custom scopes (space separated)-t, --tenant <name>- Tenant name (non-interactive mode)--it, --interactive- Interactively select tenant from list
Examples:
# Basic interactive login
uip login
# Login with custom credentials folder
uip login -f /path/to/my-folder
# Login with specific tenant
uip login -t my-tenant-name
# Interactive tenant selection
uip login --interactiveuip login-status
Display current login status and session information.
Options:
-f, --file <folder>- Path to credentials folder (default:.uipath)
Example:
uip login-statusOutput:
✅ Logged in
Organization ID: abc123...
Base URL: https://cloud.uipath.comTool Management
The CLI supports a plugin system that allows you to extend functionality by installing additional tools.
uip tools installed
List all currently installed tools.
Example:
uip tools installedOutput:
🔧 Installed Tools:
✓ automation-tool v1.0.0
Command: uip automation
Automate workflows and processesuip tools search [query]
Search for available tools in the configured registry.
Example:
# Search for tools
uip tools search automation
# Interactive search (prompts for query)
uip tools searchOutput:
🔍 Searching for 'automation'...
📦 Found: @uipath/automation-tool (v1.0.0)
Description: Automate workflows and processes
Publisher: uipath
To install: uip tools install <package-name>uip tools install <package-name>
Install a tool from the registry.
Example:
uip tools install @uipath/automation-toolOutput:
📦 Installing '@uipath/automation-tool'...
✅ Successfully installed @uipath/automation-toolGetting Help
- View all available commands:
uip --help - View help for a specific command:
uip <command> --help - View version:
uip --version
Troubleshooting
Not logged in error
If you see ❌ Not logged in, run uip login to authenticate.
Tool not found after installation
After installing a new tool with uip tools install, you may need to restart your terminal or CLI session for the tool to become available.
Authentication issues
If you're having trouble logging in, try:
- Check your internet connection
- Verify your credentials
- Use
uip login --interactiveto manually select your tenant
For Developers
Development Setup
To work on the CLI locally:
# Install dependencies
bun install
# Run in development mode
bun run index.ts
# Build the project
bun run build
# Run tests
bun testContributing
For bug reports and feature requests, please visit the GitHub repository.
