Prerequisites
Before installing Cubipods, ensure you have:- Rust (version 1.56 or later)
- Cargo (Rust’s package manager, included with Rust)
If you don’t have Rust installed, visit rustup.rs to install it.
Installation Steps
Install Cubipods via Cargo
Run the following command to install Cubipods from crates.io:This will download, compile, and install the
cubipods binary to your Cargo bin directory (typically ~/.cargo/bin/).Verify Installation
Confirm that Cubipods is installed correctly by checking the version:You should see output similar to:
Test Basic Functionality
Run a simple test to ensure everything is working:This executes the
PUSH1 0x01 opcode. If successful, Cubipods will execute without errors.Without verbose mode, Cubipods executes silently. To see execution details, add the
-v flag (covered in the Quickstart).Installation Troubleshooting
Command not found
Command not found
If you get a “command not found” error, ensure that Then reload your shell configuration:
~/.cargo/bin is in your system’s PATH:Compilation errors
Compilation errors
If you encounter compilation errors during installation:
-
Update Rust to the latest stable version:
-
Try the installation again:
Permission denied
Permission denied
If you encounter permission errors:
- Ensure you have write permissions to the Cargo bin directory
- Avoid using
sudowith Cargo commands, as this can cause permission issues - Check that your Rust installation is user-local (not system-wide)
Dependencies
Cubipods automatically installs the following dependencies:- clap (v4.5.16) - Command-line argument parsing
- tiny-keccak (v2.0.2) - Cryptographic hashing for the KECCAK256 opcode
- hex (v0.4.3) - Hexadecimal encoding and decoding
All dependencies are managed automatically by Cargo during installation.
Building from Source
If you prefer to build from source:Next Steps
Quickstart
Learn how to execute your first bytecode and explore Cubipods features