The Telnyx CLI requires Go 1.22 or later. If you don’t have Go installed, follow the official installation guide.
Installation
Install the CLI using Go:telnyx binary to your Go bin directory.
Add to PATH
After installation, ensure the Go bin directory is in your PATH:Verify Installation
Update
To update to the latest version, run the install command again:Alternative: Run Without Installing
You can run the CLI directly without installing:Troubleshooting
”command not found: telnyx”
If the command isn’t found after installation:-
Verify Go’s bin directory:
-
Add Go bin to your PATH:
-
Reload your shell config:
“command not found: go”
Install Go first:- macOS:
brew install go - Linux: Use your package manager or download from go.dev
- Windows: Download the installer from go.dev
Build errors
If you encounter build errors:-
Ensure you have Go 1.22+:
-
Clear Go’s module cache and retry:
Next Steps
Quickstart
Configure authentication and run your first commands
Command Reference
Full list of all CLI commands