Open plinto
Docs›Reference›Command line

plinto import

Command line
⚙Made from plinto's own help, so it says what the command does. plinto help import prints the same in your terminal.
What it does

Import a Maven artifact, a Go module, a crate, an npm package, a PyPI project, a Hex package, a toolchain or an image, and everything it needs, as packages, through the build service.

plinto import maven <group>:<artifact>:<version> | go <module path>@<version> | crate <name>@<version> | npm <package>@<version> | pypi <project>==<version> | hex <package>==<version> | jdk|go-toolchain|rust-toolchain|oracle-graalvm|node-toolchain|python-toolchain|uv-toolchain|glibc|gcc|erlang-toolchain|elixir-toolchain|rebar3-toolchain|hex-client|caddy|traefik <version> | image <image>:<tag>==<version> [options]

Imports the artifact, module or crate and everything it needs as packages: each gets a hosted repository with just its plinto.conf, and a build of the version group releases them (prebuilt-maven, prebuilt-go or prebuilt-rust downloads each, once) and pins them.

Options

OptionWhat it does
--name <id>=<name>give the package of that artifact (<group>:<artifact>), module (<path>) or image (<registry>/<path>) this name instead of the one derived from it; repeatable
--version-group <group>the version group to import into (default: main)
--features <a,b>the crate's features to turn on, which decide the optional crates it brings
--platforms <a,b>the platforms a toolchain or an image is released for (default: those of mac-aarch64, mac-x64, linux-aarch64, linux-x64, windows-x64 it is built for; an image's, linux-x64, linux-aarch64); a released version asked for one more is released again, as <version>-<n>
--python <3.14,3.15>the Python lines a PyPI import resolves for and takes native wheels of (default: the lines the version group points Python at)
--otp <28,29>the Erlang/OTP majors an Elixir toolchain is released for, one build of Elixir for each (default: the lines the version group points Erlang at)
--point <line>point the version group's <line> of the package (25, 4.x) at the version imported, where it pointed elsewhere; repeatable
--adoptgive each package it brings that was released without a source (uploaded) its import repository, at the version released: nothing is downloaded
--dry-runshow what the import would bring, and change nothing
-o, --organization <name>the organization whose version group and packages these are (default: yours, when you are in one)
-h, --helpshow this help