1
Install Node.js 22+
We recommend nvm to manage Node versions.
2
Install Yarn
Pastures uses Yarn Classic (1.x).
3
Clone the repository
4
Install dependencies
5
Build the extension
dist-pkg/.6
Start the package server
7
Start or connect to Rancher
Option A — Docker (quick start):Option B — Existing instance:
Point your browser at your Rancher dashboard URL.
8
Developer Load the extension
- Open the Rancher UI and navigate to Extensions.
- Click the ⋮ menu (top-right) and select Developer Load.
- Enter
http://127.0.0.1:4500as the extension URL. - The Pastures extension appears in the sidebar after a page refresh.
9
Enable demo mode
If you don’t have a Pastures Engine instance, enable Demo Mode in Pastures → Settings to work with synthetic data. This lets you develop and test UI changes without a backend.