Installation on Linux
This is a step-by-step guide to installing Stakpak CLI on Linux.
Installing Stakpak
Installing Stakpak is as easy as running one command
curl -sSL https://stakpak.dev/install.sh | sh
Press Y to proceed with installation

Press Y to use Homebrew for installation
Configuring Stakpak
If you want to read more about whats the difference between Stakpak Cloud and Stakpak Open Source you can check this: OSS vs Cloud vs Enterprise
Stakpak Cloud
When you connect to the Stakpak Cloud, you unlock advanced capabilities designed for team collaboration, evolving intelligence, and workflows, including:
Agent Recovery
Intelligent Context Management
Fast Documentation Research
Discord support
Choose "Use Stakpak API"

Then it will automatically open the browser and check if you are signed in, if not then you will be redirected to sign in/register.

Then you will be redirected to the api key page, and it will be copied automatically and sent to your terminal

Now, you can close your browser
That's it, we are ready to use Stakpak🥳

Stakpak Open Source
You can use Stakpak entirely offline with the open source edition. It runs fully in your environment with your own key and requires no connection to the Stakpak API (except for fetching public Rulebooks from the Stakpak Registry, which is an unauthenticated API)
Use the arrow keys to choose "Use my own Model/API Key," then press enter

Choose whether you want to use your own provider key or your own model
Hybrid providers (e.g., Google and Anthropic)
Choose "Hybrid Providers" then press enter

Hybrid Mode (mix providers for smart/eco models)
Choose your preferred provider for the smart mode

Then choose your preferred provider model for the smart mode

Paste your provider's API Key and press enter

Then follow the same steps again to pick the provider, model, and key for your Eco mode.
Then press "Y" to save your configs
That's it, we are ready to use Stakpak🥳
Frequently Asked Questions (Q&A)
How to update Stakpak?
To update Stakpak to the latest version, just open your terminal and write stakpak update
Last updated


