You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -26,17 +26,21 @@ Simply download and run the Haxe installer and follow the instructions.
26
26
27
27
The rest of the article assumes you are able to understand basic Haxe programming. If you are new to Haxe, you can take a look at the [Haxe introduction](https://haxe.org/documentation/introduction/) and the many resources it provides from the Haxe Foundation.
28
28
29
+
<pclass="extra-info">Ceramic is currently only compatible with Haxelib 4.0.3. Please make sure to run <code>haxelib set haxelib 4.0.3</code> before proceeding.</p>
30
+
29
31
## Install Ceramic
30
32
31
-
A lot of things are done on the command line with Ceramic. We will enter command line instruction with the **Terminal** app on mac and linux, or with **Powershell** on windows. You need to be familiar with command line tools to continue.
33
+
A lot of things are done on the command line with Ceramic. We will enter command line instruction with the **Terminal** app on Mac and Linux, or with **Powershell** on Windows. You need to be familiar with command line tools to continue.
34
+
35
+
### Linux
32
36
33
-
The easiest way to install Ceramic is via [haxelib](https://lib.haxe.org/p/ceramic/). Open the terminal and type:
37
+
The easiest way to install Ceramic on Linux is via [haxelib](https://lib.haxe.org/p/ceramic/). Open the terminal and type:
34
38
35
39
```bash
36
40
haxelib install ceramic
37
41
```
38
42
39
-
This should have installed a setup utility on your machine. You can now enter a second command to download the actual ceramic package and install it:
43
+
This should have installed a setup utility on your machine. You can now enter a second command to download the actual Ceramic package and install it:
40
44
41
45
```bash
42
46
haxelib run ceramic setup
@@ -46,9 +50,15 @@ Follow the instructions, it will tell you where it wants to install Ceramic and
46
50
47
51
<pclass="extra-info">When it asks you if you want to make <code>ceramic</code> command available globally, you should choose <code>yes</code> so that the <code>ceramic</code> command will work by default on any command line session from any folder on your computer.</p>
48
52
49
-
<pclass="extra-info">On Mac and Linux, depending on the permissions settings of your machine, you might need to run the setup with administrator rights: <code>sudo haxelib run ceramic setup</code>.</p>
53
+
<pclass="extra-info">Depending on the permissions settings of your machine, you might need to run the setup with administrator rights: <code>sudo haxelib run ceramic setup</code>.</p>
54
+
55
+
### Windows & Mac
56
+
57
+
On Windows or Mac, the best way to install Ceramic is to download and run the corresponding package (`ceramic-windows-installer.exe` or `ceramic-mac-installer.pkg`) from the [latest release](https://github.com/ceramic-engine/ceramic/releases). Make sure not to have spaces in the installation path (current limitation).
58
+
59
+
### Verifying the installation
50
60
51
-
After the command has finished installing, you can check that Ceramic is working by typing:
61
+
You can check that Ceramic is working by typing in the command line:
52
62
53
63
```bash
54
64
ceramic
@@ -60,6 +70,6 @@ If you get a similar display as below, that means ceramic has been successfully
60
70
61
71

62
72
63
-
<pclass="extra-info">Installing Haxe (and haxelib) on your computer was required to follow this guide as we install Ceramic via haxelib, but note that Ceramic is mostly self-contained. It embeds its own versions of haxe, node & electron so that it won’t break if you update something on your computer. Projects generated by Ceramic contain their own local haxelib repository and are configured to use Ceramic’s embedded haxe for code completion and compilation.<p>
73
+
<pclass="extra-info">Installing Haxe (and haxelib) on your computer was required to follow this guide as we install Ceramic via haxelib, but note that Ceramic is mostly self-contained. It embeds its own versions of haxe, node & electron so that it won’t break if you update something on your computer. Projects generated by Ceramic contain their own local haxelib repository and are configured to use Ceramic’s embedded haxe for code completion and compilation.</p>
64
74
65
-
<pclass="extra-info">Another note to Haxe developers using <ahref="https://github.com/lix-pm/lix.client">lix</a>: Ceramic is not designed to work with lix. Creating a lix scope inside a Ceramic project is not supported. That said, a standard Ceramic project should work and compile fine even if your global haxe installation is running via lix, thanks to Ceramic being packed with everything it needs already.<p>
75
+
<pclass="extra-info">Another note to Haxe developers using <ahref="https://github.com/lix-pm/lix.client">lix</a>: Ceramic is not designed to work with lix. Creating a lix scope inside a Ceramic project is not supported. That said, a standard Ceramic project should work and compile fine even if your global haxe installation is running via lix, thanks to Ceramic being packed with everything it needs already.</p>
0 commit comments