1 | ---
|
2 | layout: default
|
3 | ---
|
4 |
|
5 | ## Installation
|
6 |
|
7 | 1c is developed and tested under Debian. There might be unknown issues if you use it on Windows or Mac OS.
|
8 |
|
9 | You should install the following dependencies before using 1c. You can run `1c env` to check if they are installed correctly.
|
10 |
|
11 | * Node >= 6.0.0
|
12 | * NPM >= 5.0.0
|
13 | * Java 8 (Prefer OpenJ9 > OpenJDK > Oracle HotSpot)
|
14 | * Gradle >= 3.0.0
|
15 |
|
16 | ```bash
|
17 | # install 1c
|
18 | $ npm install -g 1c
|
19 |
|
20 | # check dependencies
|
21 | $ 1c env
|
22 |
|
23 | [node](https://nodejs.org/en/download)
|
24 | v8.12.0
|
25 |
|
26 | [npm](npm install -g npm)
|
27 | 6.4.1
|
28 |
|
29 | [java](http://openjdk.java.net/install)
|
30 | openjdk version "1.8.0_192"
|
31 | OpenJDK Runtime Environment (build 1.8.0_192-201809300329-b03)
|
32 | Eclipse OpenJ9 VM (build openj9-0.10.0-rc1, JRE 1.8.0 Linux amd64-64-Bit
|
33 | OpenJ9 - c5018466
|
34 | OMR - 9ef5a533
|
35 | JCL - 84cb836f68 based on jdk8u192-b03)
|
36 | jjs - nashorn full version 1.8.0_192-201809300329-b03
|
37 | javap - /usr/lib/jvm/default-java/bin/javap
|
38 | jar - /usr/lib/jvm/default-java/bin/jar
|
39 |
|
40 | [gradle](https://gradle.org/install)
|
41 | ------------------------------------------------------------
|
42 | Gradle 3.5.1
|
43 | ------------------------------------------------------------
|
44 | Build time: 2017-06-16 14:36:27 UTC
|
45 | Revision: d4c3bb4eac74bd0a3c70a0d213709e484193e251
|
46 | Groovy: 2.4.10
|
47 | Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
|
48 | JVM: 1.8.0_192 (Eclipse OpenJ9 openj9-0.10.0-rc1)
|
49 | OS: Linux 4.9.0-7-amd64 amd64
|
50 | ```
|