# models pull

```sh
rai models pull [OPTIONS]
```

Pull remote model changes for the current model into shared\_model.py.

Targets the current model configured by `deployment.public_schema` in
`raiconfig.yaml`.

## Options

| Option    | Type    | Description                                                                                                                                                                                             |
| :-------- | :------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `--path`  | file    | Path to the model file. The shared model is written to shared\_model.py at the project root (nearest ancestor with pyproject.toml).                                                                     |
| `--force` | Boolean | Overwrite shared\_model.py even if it has been edited locally since the last pull or deploy. The existing file is backed up to a timestamped `shared_model.py.&lt;timestamp&gt;.bak`. Default: `False`. |

## See Also

- [`models deploy`](/api/cli/v2.2/models/deploy/index.md)
- [`models init`](/api/cli/v2.2/models/init/index.md)
- [`models list`](/api/cli/v2.2/models/list/index.md)
- [`models teardown`](/api/cli/v2.2/models/teardown/index.md)
