Installation Guide
Installing the Morph Cloud SDK is simple. Choose your preferred language below:
- Python
- TypeScript
# requires python3.11 or newer
# create a new virtual environment
python -m venv .venv
# activate the new virtual environment
source .venv/bin/activate
# install morphcloud
pip install morphcloud
Make sure that you have obtained your API key and that it is set as the value of your MORPH_API_KEY
environment variable.
Once installed, the CLI is automatically available in your environment:
morphcloud --help
To use the Python SDK in your code:
from morphcloud.api import MorphCloudClient
client = MorphCloudClient()
npm install morphcloud
Once installed, import the client to start using the SDK:
import { MorphCloudClient } from 'morphcloud';
const client = new MorphCloudClient();
SDK Installation
For more details about our SDKs, check out the official repositories:
Don't forget to configure your API key.