Major CLI
major is Major on the command line. It brings authentication, app creation, and app deployment directly to your own development environment so that you can create internal apps with ease.
Documentation
Major CLI is supported for users on macOS, Windows, and Linux.
Installation
major is available via Homebrew:
brew tap major-technology/tap
brew install major-technology/tap/major
Build from source
Prerequisites:
- Clone the repository:
git clone https://github.com/major-technology/cli.git
cd cli
- Build the CLI:
go build -o cli
- Move the binary to your PATH:
mv cli /usr/local/bin/
Getting Started
Authentication
To authenticate with Major:
cli user login
This will open your browser to complete the authentication flow. Once authenticated, your credentials are securely stored in your system keychain.
Check authentication status
To verify you're logged in and see your user information:
cli user whoami
Logout
To revoke your CLI token and logout:
cli user logout
License
MIT