Knockout makes it easier to create rich, responsive UIs with JavaScript
npm install knockoutnpm install knockout.
sh
git clone https://github.com/knockout/knockout.git
cd knockout
`
2. 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:
`sh
npm install -g grunt-cli
npm install
`
The first npm command sets up the popular Grunt build tool. You might need to run this command with sudo if you're on Linux or Mac OS X, or in an Administrator command prompt on Windows. The second npm command fetches the remaining build dependencies.
3. Run the build tool
`sh
grunt
`
Now you'll find the built files in build/output/.
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.