How to install Movement CLI on Ubuntu 22.04?

Hello everyone
I hope you are doing well in New Year.
I got error while installing movement CLI.
This is error image.


And my PC’s detail info is the following;
:heavy_check_mark:OS: ubuntu22.04
:heavy_check_mark:rustc 1.78.0
:heavy_check_mark:rustup 1.27.1
Is there anyone who can help me?
My discord ID is “0xnto.” and telegram ID is pattboydev.
Please feel free to reach out me if you could help me.
Thanks for your time and consideration.

Did you run an update and upgrade for your machine before the installation

Most of what I see when searching this error with other rust codebases is to try uninstalling/reinstalling/updating rust

additionally you can try installing the build dependencies mentioned in the error and retry

1 Like

aptos cli works fine for devs, you could install aptos cli instead.

2 Likes

Aptos CLI version 6 does not allow me to use movementlabs custom endpoint for deployment

I’m using 6.1.1 and it works.
Try to config endpoint in your yaml.

An Example:

aptos move view --function-id 0x61b96051f553d767d7e6dfcc04b04c28d793c8af3d07d3a43b4e2f8f4ca04c9f::addr_aggregator::get_type --args address:0xef67014b5920c2ba7305188c5a77b9c3dda07d157d77ddb4c6de72d97e4fcd4e --profile dao_mainnet

I also use Aptos CLI (6.2.0) just fine. Just make sure to deploy with the --move-1 --bytecode-version 6 tags, as the Aptos CLI defaults to Move 2 which isn’t supported on Movement yet.