FlexSite CLI Setup
Applies to: FlexLab

Overview
Set up the FlexSite CLI for FlexLab local development and remote operations.
Steps — install CLI
- Install Node.js LTS.
- Install CLI:
npm install -g @flexsite/cli(verify version in platform docs). - Run
flexsite --helpto confirm.
Steps — authenticate
- Create personal access token at
/dashboard/profile/tokenswith scopes:drush:execute, database/files pull as needed. - Run
flexsite auth loginand paste token. - Run
flexsite auth statusto verify org context. - In cloned repo, run
flexsite linkor follow project Code instructions.
Common workflows
flexsite db pull— local DB from remote backup.flexsite sync— DB + files.flexsite drush -- status— remote Drush.
Add SSH public key on Tokens page for SSH gateway shell access.