> ## 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.

# How to install Nebius AI Cloud CLI

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

<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>

1. Open your terminal.

2. Run the command:

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

3. To complete the installation, restart your terminal or run `exec -l $SHELL`.

4. 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.

5. Go to [How to set up the Nebius AI Cloud CLI](./configure).

## Setting up command autocompletion

During setup, your shell will enable Nebius AI Cloud CLI autocompletion by default. If it doesn't happen, use one of the solutions below:

<Tabs>
  <Tab title="Permanent solution">
    Run the following command:

    ```bash theme={null}
    nebius completion zsh > ~/.nebius/completion.zsh.inc
    echo 'if [ -f '~/.nebius/completion.zsh.inc' ]; then source '~/.nebius/completion.zsh.inc'; fi' >> ~/.zshrc
    ```
  </Tab>

  <Tab title="Single-session solution">
    The command below will generate a new completion file each time you create a new session. The example below is for ZSH:

    ```bash theme={null}
    echo 'source <(nebius completion zsh)' >> ~/.zshrc
    ```
  </Tab>
</Tabs>
