Checking Your Environment Status
Understanding the current state of your Grove environment helps you troubleshoot issues and ensure everything is working correctly.
Checking environment status
Section titled “Checking environment status”To see the status of your current environment:
kanuka grove statusThis shows you detailed information about your Grove environment including project details, managed packages, environment health, and helpful diagnostics.
Understanding status output
Section titled “Understanding status output”The status command shows a comprehensive overview like this:
═══ Kanuka Grove Status ═══
Project Information ✓ Grove project: my-project → Project ID: b309d950... → Location: /path/to/project
Configuration Files ✓ kanuka.toml ✓ devenv.nix ! .env (not found)
Managed Items ✓ Packages (2): • nodejs_20 • python3 ! No managed languages
Environment Health ✓ Nix package manager ✓ devenv (devenv 1.8.0 (aarch64-darwin)) ! AWS SSO (not configured) → Configure: Configure AWS SSO in ~/.aws/config
Container Support ! Container support not initialized → Initialize: kanuka grove container init → Or use: kanuka grove init --containers
Next Steps → Enter environment: kanuka grove enter → View managed items: kanuka grove listStatus indicators
Section titled “Status indicators”Grove status uses different indicators:
- Ready: Environment is properly configured and available.
- Not initialized: No Grove environment found in current directory.
- Configuration error: Issues with devenv.nix or kanuka.toml.
- Missing dependencies: Required tools (Nix, devenv) not available.
Compact status view
Section titled “Compact status view”For a shorter summary, you can use the compact flag:
kanuka grove status --compactThis provides a condensed view of your environment status without the detailed breakdown.
Troubleshooting with status
Section titled “Troubleshooting with status”Common issues the status command helps identify:
- Missing Nix or devenv: Shows if prerequisites aren’t installed.
- Outdated channels: Indicates if your package sources need updating.
- AWS authentication expired: Shows when you need to re-authenticate.
- Configuration conflicts: Identifies issues in your environment files.
Status in different directories
Section titled “Status in different directories”Grove status is context-aware:
# In a Grove-enabled projectcd my-projectkanuka grove status# Shows: Environment ready
# In a directory without Grovecd /tmpkanuka grove status# Shows: No Grove environment foundNext steps
Section titled “Next steps”To learn more about kanuka grove status, see the development environments concepts and the command reference.
Or, continue reading to learn how to manage package channels.