elide install installs project dependencies without requiring a separate
package-manager executable.
| Ecosystem | Enable it with | Read from |
|---|---|---|
| Maven | Included by default | elide.pkl or a project selected with -p |
| npm | --ecosystems=npm | elide.pkl and package.json |
| PyPI | Not available in Elide 1.5.0 | Dependency declarations are accepted, but not installed |
Install dependencies
elide install # Maven
elide install --ecosystems=npm # npm
elide install --ecosystems=maven,npm # both
elide install --workspace # every available declared ecosystem
A foreign manifest does not silently enable its ecosystem. For example, a
package.json is used only when npm is selected. A bare Maven install may
finish without warning that npm dependencies were skipped, so select every
ecosystem required by CI explicitly.
An unavailable or unknown ecosystem is a usage error. In 1.5.0,
--ecosystems=pypi reports that PyPI installation is unavailable.
Declare dependencies
An elide.pkl manifest can describe more than one ecosystem:
amends "elide:project.pkl"
dependencies {
maven {
packages {
"com.google.guava:guava:33.4.8-jre"
}
}
npm {
packages {
"react@19.0.0"
}
}
}Existing package.json files also work for npm:
elide install --ecosystems=npmFor Maven projects that use only pom.xml, select the project directory
explicitly:
elide install -p .Maven options
These options apply to the Maven part of an install:
| Option | Effect |
|---|---|
--slim | Skip sources and Javadoc classifiers. |
--with=sources | Fetch sources in addition to each JAR. javadoc and docs are also accepted. |
--direct | Copy artifacts into the project rather than linking them. |
--fresh | Ignore cached resolution and download again. |
Unknown classifier values fail with exit code 2 instead of being ignored.
Installed files
Project dependency state lives below .dev/dependencies/.
- npm packages are installed below
.dev/dependencies/npm/node_modules, with a project-rootnode_moduleslink for compatibility. - Maven artifacts use the standard Maven cache and are linked below
.dev/dependencies/m2for project inspection. - Maven classpaths are written as
compile.classpath,runtime.classpath,test.classpath, andprocessors.classpathbelow that directory.
The npm resolver writes its own aube-lock.yaml. Elide does not currently
combine every ecosystem into one dependency lockfile.
See Elide Projects for the full dependency schema and NPM Installer for npm-specific behavior.