Skip to main content
Version: 2.x

mops toolchain use

Install specific tool version and update mops.toml file.

mops toolchain use <tool> [version]

Examples​

Install specific tool version

mops toolchain use moc 1.0.0
mops toolchain use wasmtime 41.0.0
mops toolchain use pocket-ic 15.0.0
mops toolchain use lintoko 0.7.0

You can specify latest as version to install the latest available version.

mops toolchain use moc latest

If a version is not specified, you will be prompted to select the version from the list of available versions.

mops toolchain use moc

user prompt image

Using explicit file paths​

You can also specify file paths to toolchain binaries instead of version numbers. This is useful when building a tool from source. File paths must start with /, ./, or ../.

Examples​

mops toolchain use moc ./tools/moc
mops toolchain use lintoko /usr/local/bin/lintoko
mops toolchain use wasmtime ../custom-wasmtime/bin/wasmtime