Skip to main content

Installation

The Cubby CLI is distributed via npm.

Requirements

  • Node.js 18 or later
  • npm, yarn, or pnpm

Install via npm

npm install -g cubbypro

Install via yarn

yarn global add cubbypro

Verify Installation

cubby --version
You should see the version number printed.

Authentication

Before deploying, authenticate with your Cubby account:
cubby login
This opens your browser for authentication. Your session persists until you explicitly log out.

Updating

To update to the latest version:
npm update -g cubbypro

Troubleshooting

Ensure your npm global bin directory is in your PATH. Run npm bin -g to see the location.
Try using a Node version manager like nvm, or configure npm to use a user-writable directory.