Totally new to Knockout? The most fun place to start is the online interactive tutorials.
For more details, see
You can download released versions of Knockout from the project's website.
For Node.js developers, Knockout is also available from npm - just run
npm install knockout.
##Building Knockout from sources
If you prefer to build the library yourself:
Clone the repo from GitHub
git clone https://github.com/knockout/knockout.git cd knockout
Acquire build dependencies. Make sure you have Node.js installed on your workstation. This is only needed to build Knockout from sources. Knockout itself has no dependency on Node.js once it is built (it works with any server technology or none). Now run:
npm install -g grunt-cli npm install
npmcommand sets up the popular Grunt build tool. You might need to run this command with
sudoif you're on Linux or Mac OS X, or in an Administrator command prompt on Windows. The second
npmcommand fetches the remaining build dependencies.
Run the build tool
Now you'll find the built files in
Running the tests
If you have phantomjs installed, then the
grunt script will automatically run the specification suite and report its results.
Or, if you want to run the specs in a browser (e.g., for debugging), simply open
spec/runner.html in your browser.
MIT license - http://www.opensource.org/licenses/mit-license.php