CLI tool for Lux - Upload and deploy interfaces from your terminal
npm install luxlabsOfficial CLI tool for Lux - Upload and deploy interfaces from your terminal.
Author: Jason Henkel at Lux Labs
``bash`
npm install -g luxlabs
`bashAuthenticate with Lux
lux login
Commands
$3
| Command | Description |
|---------|-------------|
|
lux login | Authenticate with Lux (opens browser) |
| lux login --key | Authenticate with an API key |
| lux logout | Log out from Lux |$3
| Command | Description |
|---------|-------------|
|
lux i create --name | Create a new interface |
| lux i list | List all your interfaces |
| lux i deploy | Deploy interface to production |
| lux i logs | View interface logs (--type terminal\|console\|deployed, --lines N) |
| lux i path | Get local repo path |
| lux i screenshot | Take a screenshot |
| lux i click | Click an element |
| lux i type | Type into an element |
| lux i eval | Execute JavaScript |
| lux i url | Get current URL |
| lux i nav | Navigate to URL |
| lux i wait | Wait for duration |
| lux i preview | Start interface preview |$3
| Command | Description |
|---------|-------------|
|
lux data tables | Manage database tables |
| lux data kv | Manage KV namespaces |$3
| Command | Description |
|---------|-------------|
|
lux storage ls | List files in storage |
| lux storage get | Download a file |
| lux storage put | Upload a file |
| lux storage rm | Delete a file |$3
| Command | Description |
|---------|-------------|
|
lux workflows list | List all workflows |
| lux workflows get | Get workflow details |
| lux workflows create | Create a new workflow |
| lux workflows publish | Publish a workflow |
| lux flow | Shorthand alias |$3
| Command | Description |
|---------|-------------|
|
lux agent list | List all agents |
| lux agent get | Get agent details |
| lux agent create | Create a new agent |
| lux agent prompt | View/edit agent prompt |$3
| Command | Description |
|---------|-------------|
|
lux knowledge list | List knowledge bases |
| lux knowledge upload | Upload to knowledge base |
| lux kb | Shorthand alias |$3
| Command | Description |
|---------|-------------|
|
lux voice-agents list | List voice agents |
| lux voice-agents create | Create a voice agent |
| lux va | Shorthand alias |$3
| Command | Description |
|---------|-------------|
|
lux secrets list | List organization secrets |
| lux secrets set | Set a secret |
| lux secrets get | Get a secret value |
| lux secrets delete | Delete a secret |$3
| Command | Description |
|---------|-------------|
|
lux ab-tests list-tests | List all A/B tests |
| lux ab-tests get-test | Get test details |
| lux experiments | Alias for ab-tests |$3
| Command | Description |
|---------|-------------|
|
lux project deploy | Deploy project to GitHub |
| lux proj | Shorthand alias |$3
| Command | Description |
|---------|-------------|
|
lux preview | Start interface preview |
| lux screenshot | Take a screenshot |
| lux click | Click an element |
| lux type | Type into an element |
| lux eval | Execute JavaScript |
| lux url | Get current URL |
| lux nav ` | Navigate to URL |Requirements
- Node.js >= 18.0.0
- npm or yarn
Support
For support and documentation, visit uselux.ai
For issues, visit GitHub Issues
License
Proprietary - See LICENSE file for details.
Copyright (c) 2024-2025 Lux AI Labs. All Rights Reserved.