Elide hat zwei Kanäle: release (Versionen wie 1.6.0) und nightly (tägliche Builds). Die Installationsskripte
verwenden standardmäßig release.
macOS, Linux oder WSL
curl -sSL --tlsv1.2 elide.sh | bashInstalliert nach ${ELIDE_HOME:-${XDG_DATA_HOME:-$HOME/.local/share}/elide} und fügt bin zu Ihrem Shell-Profil
hinzu. Optionen übergeben Sie nach bash -s --:
curl -sSL --tlsv1.2 elide.sh | bash -s -- --channel=nightly --with-python| Option | Wirkung |
|---|---|
--channel=release oder --channel=nightly | Wählt den Kanal (Standard: release). |
--install-rev=VERSION | Installiert eine bestimmte Version. |
--install-dir=PATH | Installiert an einen anderen Ort. |
--with-python | Installiert zusätzlich die Python-Komponente. |
--no-path | Lässt Shell-Profile unverändert. |
--help | Listet alle Optionen auf, ohne zu installieren. |
Windows
& ([scriptblock]::Create((irm https://elide.sh/install.ps1)))Installiert nach $env:ELIDE_HOME oder, wenn diese Variable nicht gesetzt ist, nach $env:LOCALAPPDATA\elide.
Optionen: -Channel, -InstallRev, -InstallDir, -WithPython und -NoPath.
npm
npm install -g @elide-dev/elidelatest folgt release; für Nightly installieren Sie @elide-dev/elide@nightly. Setzen Sie ELIDE_WITH_PYTHON=1,
um Python einzuschließen.
Python
Python ist eine optionale Komponente:
elide setup python| Installationsmethode | Python |
|---|---|
| Installationsskript | --with-python (-WithPython unter Windows) oder später elide setup python |
| npm | ELIDE_WITH_PYTHON=1 während npm install |
| Homebrew | Enthalten |
| Container-Images | Enthalten |
| apt, RPM, MSI, macOS-Installer | Nicht verfügbar; verwenden Sie eine der obigen Methoden |
elide setup python verwendet den Kanal der Binärdatei selbst; --channel=release oder --channel=nightly
überschreibt ihn.
Weitere Methoden
- Pakete und Installer: Homebrew, apt, RPM, Installer für macOS und Windows
- Container-Images
- Continuous Integration
- GitHub Releases: Archive, Prüfsummen und ältere Builds. Halten Sie
bin/undlib/eines Archivs zusammen;bin/elidebenötigtlib/.
Aktualisieren Sie eine Skriptinstallation mit elide upgrade und eine Paketmanager-Installation über den jeweiligen
Paketmanager.
Installation überprüfen
elide --version
elide info
███████╗██╗ ██╗██████╗ ███████╗
██╔════╝██║ ██║██╔══██╗██╔════╝
█████╗ ██║ ██║██║ ██║█████╗
██╔══╝ ██║ ██║██║ ██║██╔══╝
███████╗███████╗██║██████╔╝███████╗
╚══════╝╚══════╝╚═╝╚═════╝ ╚══════╝
1.6.0
Elide command-line interface
Guides: elide help | All flags: elide help options | Agents: elide agent help
Usage: elide [FLAGS] [FILE] [-- SCRIPT_ARGS]… [SUBCOMMAND]
Run & develop:
run Run programs
serve Start an HTTP server [aliases: start]
dev Develop on an Elide project
install Install dependencies
repl Start the interactive REPL
python Run Python programs, like `python ...` (experimental)
Build & test:
build Assemble artifacts within an Elide project
test Run tests
format Run formatters [aliases: fmt]
project Manage or interrogate Elide projects
JVM toolchain:
java Run JVM programs, like `java ...`
javac Compile Java to JVM bytecode, like `javac ...`
kotlinc Compile Kotlin to JVM bytecode, like `kotlinc ...`
jar Build JARs, like `jar ...`
Setup & tooling:
init Initialize a new Elide project
adopt Interactively migrate an existing project to Elide with an AI coding
harness
help Read documentation and guides
agent Agent-oriented help, diagnostics, and bug reporting
info Show info about the current Elide binary
upgrade Check for and apply updates to Elide
setup Install an optional component (e.g. python) into this Elide install
use Pin this project to a specific Elide version
lsp Start a Language Server Protocol (LSP) instance
mcp Start a Model Context Protocol (MCP) instance
elide info listet die verfügbaren Sprachen auf, einschließlich python, sofern installiert. Wenn die Shell elide
nicht findet, öffnen Sie ein neues Terminal oder fügen Sie den Ordner bin der Installation zu PATH hinzu.
Systemanforderungen
| Plattform | Architektur | Mindestanforderung | Python-Komponente |
|---|---|---|---|
| Linux | amd64 | glibc 2.34, Kernel 4.18 | Ja |
| Linux | arm64 | glibc 2.34, Kernel 4.18 | Ja |
| macOS | Apple Silicon (arm64) | macOS 11 | Ja |
| Windows | amd64 | — | Ja |
- Ubuntu 22.04, Debian 12, RHEL 9, Fedora 35 und neuer erfüllen die glibc-Mindestversion. Auf älteren Distributionen
(zum Beispiel Debian 11) bricht
elidemitversion GLIBC_2.34 not foundab; verwenden Sie dort ein Container-Image. - Alpine und andere musl-basierte Distributionen werden nicht unterstützt (
exec elide: no such file or directory). - Intel-Macs werden nicht unterstützt.
Prüfen Sie Ihre glibc-Version mit:
ldd --version | head -1