2022-08-07 12:49:29 +02:00
# Precompiled Binaries
2024-02-12 22:50:19 +01:00
2024-03-29 07:07:43 +01:00
Installing GodotXterm using precompiled binaries means that you won't be required
2022-08-07 12:49:29 +02:00
to use a C/C++ compiler to build the project from source. It is simply a matter
of copying files to the correct location in your project. These files can be
2024-03-29 07:07:43 +01:00
installed from several sources.
2022-08-07 12:49:29 +02:00
2024-03-29 07:07:43 +01:00
:::{warning}
Precompiled binaries will only work with certain versions of Godot
2022-08-07 12:49:29 +02:00
(usually the current stable release). If you need binaries for a different or
custom Godot version, or want to make modifications to the C/C++ code, please
refer to the section on [Building From Source ](/setup/building-from-source ).
2024-03-29 07:07:43 +01:00
:::
2022-08-07 12:49:29 +02:00
## Godot Asset Library
2024-02-12 22:50:19 +01:00
2022-08-07 12:49:29 +02:00
GodotXterm can be installed from the [Godot Asset Library ](https://godotengine.org/asset-library/asset/1007 ).
2024-03-29 07:07:43 +01:00
See the {{ '[Godot Asset Library documentation]({}/community/asset_library/using_assetlib.html)'.format(godot_docs) }} for more info on how to use it.
2022-08-07 12:49:29 +02:00
## Gd-plug Plugin Manager
2024-02-12 22:50:19 +01:00
2022-08-07 12:49:29 +02:00
If you are using the gd-plug plugin manager you can add the following line to your `plug.gd` file:
2024-02-12 22:50:19 +01:00
2022-08-07 12:49:29 +02:00
```
2024-03-29 07:07:43 +01:00
plug("lihop/godot-xterm-dist", {tag = "2.2.1", include = ["addons/godot_xterm"]})
2022-08-07 12:49:29 +02:00
```
2024-02-12 22:50:19 +01:00
2024-03-29 07:07:43 +01:00
Replace the tag with that of the GodotXterm version you wish to install (see [tags ](https://github.com/lihop/godot-xterm-dist/tags )).
2022-08-07 12:49:29 +02:00
See the [gd-plug documentation ](https://github.com/imjp94/gd-plug/blob/master/README.md ) for more info on how to use it.
## Manual Installation
2024-02-12 22:50:19 +01:00
2022-08-07 12:49:29 +02:00
Alternatively, GodotXterm can be installed manually in two steps:
2024-02-12 22:50:19 +01:00
2024-03-29 07:07:43 +01:00
1. Copy the {{ '[`addons/godot_xterm`]({}/addons/godot_xterm)'.format(repo) }} directory to the `addons` directory of your Godot project.
2022-08-07 12:49:29 +02:00
2. Copy the GDNative binaries into `addons/godot_xterm/native/bin` directory.
The easiest way to obtain the GDNative binaries is to download them from [the Releases page ](https://github.com/lihop/godot-xterm/releases ).
Download the zip archive named `libgodot-xterm-release.zip` and extract its contents into the `/addons/godot_xterm/native/bin` directory of your project.
After this your `addons/godot_xterm/native/bin` directory should contain the following files:
2024-02-12 22:50:19 +01:00
2022-08-07 12:49:29 +02:00
- `libgodot-xterm.javascript.32.wasm`
- `libgodot-xterm.linux.32.so`
- `libgodot-xterm.linux.64.so`
- `libgodot-xterm.osx.64.dylib`
- `libgodot-xterm.windows.32.dll`
- `libgodot-xterm.windows.64.dll`
2024-03-29 07:07:43 +01:00
:::{note}
2022-08-07 12:49:29 +02:00
Debug builds are also available on the Releases page if required.
Download and unzip `libgodot-xterm-debug.zip` instead of `libgodot-xterm-release.zip` to the same location.
2024-03-29 07:07:43 +01:00
:::