← 返回命令列表

Linux command

argospm 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Update

argospm update

Search

argospm search --from-lang [en] --to-lang [es]

Install

argospm install [translate-en_es]

List

argospm list

Remove

argospm remove [translate-en_es]

说明

argospm is the package management CLI for Argos Translate, an open-source offline translation library. It manages the download and installation of translation language packages (neural machine translation models) that enable offline text translation between language pairs. Each package provides translation between a specific source and target language. Packages are downloaded from the Argos Translate package index and stored locally for use by the argos-translate Python library and LibreTranslate web interface.

参数

update
Download the remote package index from the Argos Translate package repository.
search
Search for available translation packages in the remote index. Use --from-lang and --to-lang to filter by language pair.
install
Install a translation package by name (e.g., translate-en_es).
list
List all currently installed translation packages.
remove
Remove an installed translation package by name.
-h, --help
Display help message and exit.

FAQ

What is the argospm command used for?

argospm is the package management CLI for Argos Translate, an open-source offline translation library. It manages the download and installation of translation language packages (neural machine translation models) that enable offline text translation between language pairs. Each package provides translation between a specific source and target language. Packages are downloaded from the Argos Translate package index and stored locally for use by the argos-translate Python library and LibreTranslate web interface.

How do I run a basic argospm example?

Run `argospm update` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does update do in argospm?

Download the remote package index from the Argos Translate package repository.