UNPKG

1.43 kBMarkdownView Raw
1---
2layout: default
3---
4
5## Installation
6
71c is developed and tested under Debian. There might be unknown issues if you use it on Windows or Mac OS.
8
9You 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)
24v8.12.0
25
26[npm](npm install -g npm)
276.4.1
28
29[java](http://openjdk.java.net/install)
30openjdk version "1.8.0_192"
31OpenJDK Runtime Environment (build 1.8.0_192-201809300329-b03)
32Eclipse OpenJ9 VM (build openj9-0.10.0-rc1, JRE 1.8.0 Linux amd64-64-Bit
33OpenJ9 - c5018466
34OMR - 9ef5a533
35JCL - 84cb836f68 based on jdk8u192-b03)
36jjs - nashorn full version 1.8.0_192-201809300329-b03
37javap - /usr/lib/jvm/default-java/bin/javap
38jar - /usr/lib/jvm/default-java/bin/jar
39
40[gradle](https://gradle.org/install)
41------------------------------------------------------------
42Gradle 3.5.1
43------------------------------------------------------------
44Build time: 2017-06-16 14:36:27 UTC
45Revision: d4c3bb4eac74bd0a3c70a0d213709e484193e251
46Groovy: 2.4.10
47Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
48JVM: 1.8.0_192 (Eclipse OpenJ9 openj9-0.10.0-rc1)
49OS: Linux 4.9.0-7-amd64 amd64
50```