mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
35 lines
667 B
Markdown
35 lines
667 B
Markdown
![]() |
---
|
||
|
sidebar_position: 3
|
||
|
---
|
||
|
|
||
|
# Installation
|
||
|
|
||
|
Installing QuickJS is simple, and we provide several ways to do so.
|
||
|
|
||
|
|
||
|
## Build from source
|
||
|
|
||
|
If you built it from source as outlined in [building](./building) you can just run:
|
||
|
|
||
|
```bash
|
||
|
make install
|
||
|
```
|
||
|
|
||
|
and it will be installed in your system. The default installation path is `/usr/local`.
|
||
|
|
||
|
|
||
|
## Using a prebuilt binary
|
||
|
|
||
|
Each [release on GitHub] includes binaries for several systems and architectures.
|
||
|
|
||
|
|
||
|
## Using jsvu
|
||
|
|
||
|
As of version 2.2.0 of `jsvu`, QuickJS-ng will be installed when the `quickjs` engine is requested.
|
||
|
|
||
|
```bash
|
||
|
npm install jsvu -g
|
||
|
```
|
||
|
|
||
|
[release on GitHub]: https://github.com/quickjs-ng/quickjs/releases
|