Install BunJS
Make sure you have the latest version of Bun installed that supports
decorators >= 1.0.15
Install Rust
We recommend using Linux or macOS for development. If you are using Windows,
you can install WSL2 and use Linux.
Install Stackr-CLI
CLI helps you to create new projects, compile and deploy your micro-rollups.
For Mac ARM based chips:
cargo
package manager. We can also use cargo to install stackr-cli
.
Install Javy
Directly install the binary for Mac with/usr/local/bin
. Open a new terminal tab or source your shell to make sure the command runs.
curl
the appropriate URL.
This is the recommended approach. However, if it does not work, please build Javy from source.
- On Ubuntu,
sudo apt-get install curl pkg-config libssl-dev clang
wasm32-wasi
, can be installed viarustup target add wasm32-wasi
cmake
, depending on your operating system and architecture, it might not be installed by default. On MacOS it can be installed with homebrew viabrew install cmake
. - On Ubuntu,sudo apt-get install cmake
.- Rosetta 2 if running MacOS on Apple Silicon, can be installed via
softwareupdate --install-rosetta
javy
cli globally:
Please refer to https://github.com/bytecodealliance/javy for more information, or contact the Stackr team for help :)