> For the complete documentation index, see [llms.txt](https://search.docs.reactify.com.au/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://search.docs.reactify.com.au/guides/upgrade-workflow.md).

# Upgrade workflow

### Basic workflow

1. Install the latest version of `@usereactify/search` package.

```
npm install @usereactify/search@latest
```

### Git workflow

The instructions below apply to most people who use Git and a CI/CD process for deploying preview builds.

1. Clone the stores frontend repository and checkout the `master` or `main` branch.

```
git clone git@gitlab.com:foobar/foobar-website.git
git checkout master
```

2. Find where the `@usereactify/search` package is installed, for theme-based websites it's usually in the root and for headless it's usually in the `app` folder.

```
cd app
```

3. Install the latest version of `@usereactify/search` package.

```
npm install @usereactify/search@latest
```

4. Create a new branch, stage the changes, commit the changes and push to the remote repository

```
git checkout -b feature/upgrade-reactify-search
git add .
git commit -m "feat: upgrade reactify search"
```

5. Visit the remote repository online and submit a pull request.

Allow CI/CD processes to create a preview builds, review the preview and if there are no issues merge the pull request.
