Code. Ship. Test.
A command-line interface tool for interacting with Stably services.
# Install globally
npm install -g stably
# Or use npx
npx stably
Before using the CLI, you need to authenticate with your Stably API key.
- Visit the Stably API Keys page: https://auth.stably.ai/api_keys/personal
- Create a new Personal API Key
- Copy the generated API Key
# Authenticate with API key
stably auth --api-key YOUR_API_KEY
# Or let the CLI prompt you for the API key
stably auth
The CLI will store your API key securely for future use.
Start a development server with a secure tunnel to expose your local environment.
# Start development server on default port (3000)
stably dev
# Specify a custom port
stably dev --port 8080
The CLI will:
- Start a development server on the specified port
- Create a secure tunnel to expose your local environment
- Provide you with a public URL where your local environment is accessible
- If you receive an "Invalid Personal API Key" error, verify that:
- The API key is correct and hasn't been revoked
- You're using a Personal API Key, not an Organization API Key
- The API key has the necessary permissions
- If the development server fails to start:
- Ensure the specified port is available
- Check if you're authenticated (run
stably auth
if needed) - Verify your API key has the necessary permissions
For information on how to contribute to this project, including development setup and available scripts, please see CONTRIBUTING.md.
For additional help or to report issues, please contact the Stably support team.