# Install and set up

> Install the uip CLI and UiPath skills, then sign in to your UiPath organization.

:::note
Review the [recommended guidelines](governance-and-trust.md#recommended-guidelines-before-you-start) first.
:::

## Prerequisites

- A UiPath account with an organization and tenant.
- A [supported coding agent](choosing-your-agent.md), installed.
- Administrator rights on your machine.
- Node.js 22 or later, if Node.js is already installed. Check with `node --version`. The installer keeps an existing Node.js 20 or 21.

## Restricted networks and internal npm registries

UiPath packages use the public `@uipath` scope on `https://registry.npmjs.org/`. `www.npmjs.com` pages are informational.

- Allow or mirror the complete `@uipath/*` scope. `@uipath/cli` alone is insufficient. The CLI also retrieves:
  - `@uipath/skills`
  - Capability-specific tools
  - Update metadata
  - Platform-specific packages
- For an internal proxy, point the scope at it:

  ```bash
  npm config set @uipath:registry https://npm.example.com/
  ```

Verify the registry serves both packages:

```bash
npm view @uipath/cli version
npm view @uipath/skills version
```

## Install

Safe to re-run.

1. Run the installer.

   ```bash
   # macOS / Linux
   curl -fsSL https://download.uipath.com/uipath-cli/install.sh | bash
   ```

   ```powershell
   # Windows (PowerShell)
   irm https://download.uipath.com/uipath-cli/install.ps1 | iex
   ```

2. Open a new terminal.

### What the installer does

1. `curl`, on macOS and Linux.
2. Node.js, if missing or older than 20. The CLI needs Node.js 22 or later, so upgrade an existing Node.js 20 or 21 yourself.
3. The CLI, from public npm: `npm install -g @uipath/cli`. No token required.
4. Skills for each detected coding agent: `uip skills install`.
5. .NET SDK 8.0.
6. .NET 10 runtime (.NET Desktop Runtime 10 on Windows), for `uip rpa pack` and `uip codedapp convert`.
7. Python 3.11 through 3.15.

## Authenticate

Run `uip login` and sign in from the browser. Defaults: `cloud.uipath.com`, default tenant.

| To | Run |
| --- | --- |
| Use another environment | `uip login --authority "https://govcloud.uipath.us"` |
| Use Automation Suite | `uip login --authority "https://<your-automation-suite-host>"` |
| Pick a tenant interactively | `uip login --interactive` |
| Pick a tenant by name | `uip login -t TenantName` |

## Verify

1. Run `uip --help`.
2. Ask your agent: "What UiPath skills do you have installed?"

## Installation options

macOS/Linux: pass the flag after `bash -s --` or set the environment variable. Windows: with the `irm` one-liner, set the environment variable first, for example `$env:UIP_SKIP_SKILLS = '1'`. To use a switch, download `install.ps1` and run `.\install.ps1 -SkipSkills`.

| Flag (`.sh`) | Switch (`.ps1`) | Environment variable | Skips |
| --- | --- | --- | --- |
| `--skip-node` | `-SkipNode` | `UIP_SKIP_NODE` | Node.js install |
| `--skip-skills` | `-SkipSkills` | `UIP_SKIP_SKILLS` | `uip skills install` |
| `--skip-dotnet` | `-SkipDotnet` | `UIP_SKIP_DOTNET` | .NET SDK and .NET runtime |
| `--skip-python` | `-SkipPython` | `UIP_SKIP_PYTHON` | Python |
| `--skip-runtimes` | `-SkipRuntimes` | `UIP_SKIP_RUNTIMES` | .NET SDK, .NET runtime, and Python |
| `--dry-run` | `-DryRun` | `UIP_DRY_RUN` | Runs nothing; prints the plan |

For one agent's skills only: `--agent <name>`, `-Agent <name>`, or `UIP_SKILLS_AGENT`. Names: [Supported agents](choosing-your-agent.md#supported-agents).

Next: [Your first build](your-first-build.md).
