> For the complete documentation index, see [llms.txt](https://2435ghj424g6j.gitbook.io/gm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://2435ghj424g6j.gitbook.io/gm/sdk/update-remove.md).

# Update/Remove

## Updating and Removing Offsetdata NPM Package

### Updating the Offsetdata NPM Package

To update the Offsetdata NPM package to the latest version, follow these steps:

1. Open your terminal or command prompt.
2. Navigate to your project directory or the location where the Offsetdata package is installed.
3. Run the following command to update the Offsetdata package:

   ```sql
   npm update offsetdata
   ```

   This command will check for any available updates for the Offsetdata package and install the latest version.
4. Once the update process is complete, you can verify the updated version by running the following command:

   ```sql
   npm show offsetdata version
   ```

   This command will display the installed version of the Offsetdata package.

### Removing the Offsetdata NPM Package

If you wish to remove the Offsetdata package from your project, follow these steps:

1. Open your terminal or command prompt.
2. Navigate to your project directory or the location where the Offsetdata package is installed.
3. Run the following command to remove the Offsetdata package:

   ```
   npm uninstall offsetdata
   ```

   This command will remove the Offsetdata package from your project.
4. You can verify that the package has been successfully removed by running the following command:

   ```bash
   npm ls offsetdata
   ```

   If the package is no longer listed in the output, it has been successfully removed.

Please note that removing the Offsetdata package will disable any functionalities or features that rely on it. Ensure that you have backups or alternative solutions in place if needed.

### TL;DR

Updating and removing the Offsetdata NPM package is a straightforward process. By following the steps outlined above, you can easily update the package to the latest version or remove it from your project when necessary. Remember to consider any dependencies or functionalities that rely on the package before removing it.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://2435ghj424g6j.gitbook.io/gm/sdk/update-remove.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
