# Update SDK

Source: https://developers.bitgo.com/docs/get-started-sdk-update

## Overview

Update the JavaScript SDK to ensure you have the latest functionality. BitGo recommends always using the most recent version of the SDK to ensure streamlined functionality and the latest security enhancements.

## Prerequisites

[Install SDK](/docs/get-started-sdk-install)

## Steps

### 1. Update npm

```shell CLI (all coins)
npm update @bitgo/bitgo
```
```shell CLI (modular)
# Specify the specific package you want to update
npm update @bitgo/<PACKAGE_NAME>
```

### 2. Update Yarn

```shell CLI (all coins)
yarn add @bitgo/bitgo
```
```shell CLI (modular)
# Specify the specific package you want to update
yarn add @bitgo/<PACKAGE_NAME>
```

### 3. Install npm

```shell CLI (all coins)
npm install @bitgo/bitgo
```
```shell CLI (modular)
# Specify the specific package you want to update
npm install @bitgo/<PACKAGE_NAME>
```

## See Also

* <a href="https://github.com/BitGo/BitGoJS/" target="_blank" rel="noreferrer">GitHub Repo: BitGo JavaScript SDK</a>
* <a href="https://www.npmjs.com/package/bitgo" target="_blank" rel="noreferrer">Node Package Manager (npm): BitGo Libraries</a>
