-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
71 lines (39 loc) · 1.68 KB
/
INSTALL
File metadata and controls
71 lines (39 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
NAFTAH LANG - INSTALLATION
==============================
Thank you for downloading the Naftah Programming Language. Please follow these instructions to complete your installation.
Prerequisites
-------------
Naftah Programming Language requires Java JDK v17 or above in order to run.
The Programming Language will use whatever JDK it finds on your path, to check that you have an appropriate
version you should run:
java -version
Alternatively, you can set the JAVA_HOME environment variable to point a suitable JDK.
Environment Variables
---------------------
No specific environment variables are required, but you may want to:
Set NAFTAH_HOME to your Naftah installation directory.
Add NAFTAH_HOME/bin to your PATH so you can run the CLI from anywhere.
Installation Instructions
- Windows:
Extract the Naftah archive to your preferred directory.
Optionally, set NAFTAH_HOME to the installation path.
Add %NAFTAH_HOME%\bin to your PATH.
Test the installation by running:
naftah --version
- Linux / macOS:
Open a terminal and go to the folder containing install-naftah.sh.
Make the installer executable:
chmod +x install-naftah.sh
Run the installer with sudo to install system-wide:
sudo ./install-naftah.sh
Checking Your Installation
--------------------------
To test if you have successfully installed the CLI you can run the following command:
naftah --version
After completing these steps, Naftah is ready to use on your system.
Linux Users: For better Arabic support, it is recommended to use XTerm mode:
naftah --xterm
Or set the environment variable:
export NAFTAH_XTERM=true
naftah
This will launch Naftah in XTerm with improved handling of Arabic text and key bindings.