# REGISTRY

> REGISTRY in StackQL: list the providers and versions in the provider registry and pull the latest or a specific version into your installation.

Source: https://stackql.io/language-spec/registry

Changes the context to a specified provider or service.  

See also:  
[[ StackQL Resource Hierarchy ]](/getting-started/resource-hierarchy)

* * * 

## Syntax

*registryStatement::=*

&nbsp;  
&nbsp;  

```sql
REGISTRY { LIST [<provider>] | PULL <provider> [<version>]};
```

* * *

## Examples

### List available providers
Retrieves the list of the latest versions of each available provider.  
```sql
REGISTRY LIST;
```
### List all versions for a specific provider
Retrieves the list of all available versions of a specific provider.    
```sql
REGISTRY LIST google;
```

### Install the latest version of a provider
```
REGISTRY PULL okta;
```

### Install a specific version of a provider
```
REGISTRY PULL azure v23.01.00104;
```
