> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting started with the Nebius AI Cloud CLI: How to install and configure the tool

Nebius AI Cloud provides a unified *command-line interface* (CLI) for automating your resource management. It helps you efficiently handle repetitive tasks and scale workloads directly from the terminal.

## Install the Nebius AI Cloud CLI

<Note>
  The old installer script ([https://storage.ai.nebius.cloud/nebius/install.sh](https://storage.ai.nebius.cloud/nebius/install.sh)) has been deprecated. If you got an error trying to update the Nebius AI Cloud CLI, please reinstall it using the new script: <code>{`curl -sSL $https://storage.eu-north1.nebius.cloud/cli/install.sh | bash`}</code>.
</Note>

The Nebius AI Cloud CLI is available for both Ubuntu and macOS.

1. Open your terminal and run the command:

   ```bash theme={null}
   curl -sSL https://storage.eu-north1.nebius.cloud/cli/install.sh | bash
   ```

2. Restart your terminal or run `exec -l $SHELL` to complete the installation.

3. Make sure that the installation is successful. Run:

   ```bash theme={null}
   nebius version
   ```

   In the output, you'll see the version number of your Nebius AI Cloud CLI.

## Configure the Nebius AI Cloud CLI

<Warning>
  **Use one profile per project**

  Create a separate Nebius AI Cloud CLI profile for each project to ensure correct [region](/overview/regions)-specific configuration.
</Warning>

1. [Get the project ID](/iam/manage-projects#cli-3) and save it to an environment variable:

   ```bash theme={null}
   export PROJECT_ID=<project_ID>
   ```

2. Run the following command:

   ```bash theme={null}
   nebius profile create --parent-id $PROJECT_ID 
   ```

3. Set up the new profile:

   1. Using arrow keys, select **Create a new profile** and press `Enter`.

   2. Specify the profile name and press `Enter`.

   3. Keep the default value for **Select api endpoint** (`api.nebius.cloud`) and press `Enter`.

   4. Under **Select authorization type**, keep `federation` and press `Enter`.

   5. Keep the default value for **Select federation endpoint** (`auth.nebius.com`) and press `Enter`.

   6. In the browser tab that opens, log into the Nebius AI Cloud web console if prompted. After logging in (or if you have already been logged in), you will see the following message:

      ```plaintext theme={null}
      Login is successful, you may close the browser tab and go to the console
      ```

   7. Close the browser tab and go back to your terminal window. If you have access to multiple tenants, the CLI will prompt you to choose a tenant ID. Choose the tenant that you want to use. If you only have access to one tenant, it is selected by default. You will see the following message:

      ```plaintext theme={null}
      Profile "<profile-name>" configured and activated
      ```

4. Check that your new profile has been created and set as the default one:

   ```bash theme={null}
   nebius profile list
   ```

   You should see the following output:

   ```bash theme={null}
   default
   <profile-name> [default]
   ```

## What's next

Create your first resources using the Nebius AI Cloud CLI:

* [Compute virtual machine](../compute/quickstart)
* [Managed Service for Kubernetes® cluster](../kubernetes/quickstart)
* [Object Storage bucket](../object-storage/quickstart)
