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

# Prepare the Environment

> Clone the on-premise repository and configure script permissions before running the SCANOSS installation.

Before running any installation scripts, you need to clone the [scanoss/on-premise](https://github.com/scanoss/on-premise) repository and ensure the scripts have the correct permissions.

> The `install-scanoss.sh` script must be executed with root privileges, either by using `sudo` or by running it directly as the root user. The `kb-download.sh` script does not require elevated privileges and can be run as a regular user.

## 1. Clone the Repository

```bash theme={null}
git clone https://github.com/scanoss/on-premise.git
```

## 2. Navigate to the Install Directory

```bash theme={null}
cd on-premise/install/
```

## 3. Add Execution Permissions

```bash theme={null}
chmod +x *.sh
```

## SFTP Credentials

During installation you will be prompted to enter SFTP credentials to download the SCANOSS application binaries and Knowledge Base.

These credentials are provided by the SCANOSS team prior to installation. If you have not received them, contact [support@scanoss.com](mailto:support@scanoss.com) before proceeding.

## Next Steps

Once the repository is cloned and permissions are set, proceed to [Install Applications](install-applications).
