Skip to content

Getting Started

Prepare your development environment

The first step to start developing Micro-Rollups with Stackr is to prepare your development environment and making sure that all the system requirements are upto date and matches the required versions.

Prerequisites

Git

Incase you don't already have it, you can follow the instructions at here

Bun

The Bun runtime to required to run the micro-rollups and optionally for package management.

Linux / MacOS
curl -fsSL https://bun.sh/install | bash

More information regarding Bun can be found at https://bun.sh/docs/installation.

NodeJS LTS or above

Node.js is only required for npm, if you wish to use it for package management.

Linux / MacOS
# Install Node Version Manager (nvm)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
 
# Install NodeJS and npm (LTS versions)
nvm install --lts

Stackr CLI

The Stackr CLI helps you to create, register and deploy your micro-rollups.

Either you can install it globally using

npm
npm i -g @stackr/cli

OR

you can run the commands without installing

npm
npx @stackr/cli

Next Steps

Now that we are done with the prerequisites, proceed to the next section on how to create and setup your first Micro-Rollup.