Prerequisites
- Make sure your local machine has Python installed.
- If you haven’t already, register for a Together account to get an API key. New accounts come with $5 to get started.
Install the library
Launch your terminal and install or update the Together CLI with the following command:Shell
Authenticate your shell
The CLI relies on theTOGETHER_API_KEY
environment variable being set to your account’s API token to authenticate requests. You can find your API token in your account settings.
Tocreate an environment variable in the current shell, run:
Shell
Next steps
If you know what you’re looking for, find your use case in the sidebar to learn more! The CLI is primarily used for fine-tuning so we recommend visiting Files or Fine-tuning. To see all commands available in the CLI, run:Shell