Downloads

Get the latest stable production build of Knockout.js:

Also available: debug build. Note: This is only intended to help you understand how Knockout works. Don't use it for normal application development, because it exposes additional unsupported private APIs.

Installation

Simply reference the JavaScript file using a <script> tag somewhere on your HTML pages. For example,

<script type='text/javascript' src='knockout-3.1.0.js'></script>

Of course, update the src attribute to match the location where you put the downloaded file. Next, if you’re new to Knockout, get started with interactive tutorials, see some live examples, or dig into documentation about observables.

Content Delivery Networks (CDNs)

To give your users the fastest download speeds, you might instead prefer to reference knockout.js on one of the following third-party CDNs:

Archive of all versions

  • jquery.tmpl (debug) — the old jQuery Templates plugin sometimes used with older versions of Knockout.js. This approach to templating has been deprecated since Knockout v2.0.0.