list- View all available workspacesshow- Display current workspace details
Setting Active Workspace
Before using workspace commands, you can set your active workspace:NILE_WORKSPACE environment variable:
Environment Variable
Listing Workspaces
Thelist command shows all workspaces you have access to.
Options
Examples
List Examples

Showing Current Workspace
Theshow command displays details about your current workspace.
Options
Examples
Show Examples
Sample Output

Common Workflows
Setting Up Development Environment
Development Setup
Workspace Verification
Verification Workflow
Common Issues
No Active Workspace
When no workspace is selected:No Workspace
Authentication Issues
When authentication is required:Auth Issues
Invalid Workspace
When workspace doesn’t exist:Invalid Workspace
Best Practices
-
Environment Variables: Use environment variables for different contexts:
-
Configuration File: Set default workspace in configuration:
-
Verification: Always verify workspace before critical operations:
Related Commands
nile config- Configure CLI settingsnile db list- List databases in workspacenile connect- Authentication managementnile tenants- Tenant management within workspace