---
title: "Updates - Web PKI"
description: "Why and how to update the Web PKI JavaScript library in your web application, using the CDN link or the NPM web-pki package. The component updates itself."
canonical: "https://docs.lacunasoftware.com/en-us/articles/web-pki/update"
locale: "en"
product: "Web PKI"
last_updated: "2026-10-12"
---

# Updates - Web PKI

[Web PKI](https://docs.lacunasoftware.com/en-us/articles/web-pki) is automatically updated on users' computers. However, you can (and should) update the Javascript library
(`lacuna-web-pki-{version}.js`) on your web application regularly.

Updating the Javascript library:

* Fixes known issues that cannot be resolved with updates to the component installed on users' computers
* Gives your application access to new features on Web PKI

The latest version of the Javascript library is **2.18.0**. You can get it on the link below:

https://cdn.lacunasoftware.com/libs/web-pki/lacuna-web-pki-2.18.0.min.js

Or include in your Web page as:
```html
<script type="text/javascript" src="https://cdn.lacunasoftware.com/libs/web-pki/lacuna-web-pki-2.18.0.min.js"
  integrity="sha256-utM/CTsggW5QWTZgkLcAwVGkMBhYKTz3n0992V4r2y4="
  crossorigin="anonymous"></script>
```

Or install the [NPM web-pki package](https://www.npmjs.com/package/web-pki):

```sh
$ npm install web-pki --save
```

> **Tip**
>
> All updates are guaranteed to be 100% backward compatible, so you can update the library without fear of breaking existing code
