Getting Started
This guide will get you up and running with TokenMF in just a few minutes.
Prerequisites
- Node.js >= 18 (we recommend using nvm to manage versions)
- npm (comes with Node.js)
- An API Key for one or more LLM providers (DeepSeek, OpenAI, Anthropic, etc.)
5 Steps to Get Started
1. Install
Install the TokenMF CLI globally:
bash
npm install -g @tokenmf/tmf2. Verify
Confirm the installation succeeded:
bash
tmf --versionIf you see a version number printed, you're all set.
3. Browse and Switch Providers
List the providers currently available:
bash
tmf listChoose a provider and switch your target application to it. For example, to switch Claude Code to DeepSeek:
bash
tmf use deepseek --app claude-codeTokenMF saves the switch locally so you can reference it later.
4. Test the Connection
Verify the new configuration works:
bash
tmf test deepseekA successful test means the provider connection is working. If it fails, double-check your API key and network connectivity.
5. Rollback (Optional)
Need to revert to the previous provider configuration?
bash
tmf rollback --app claude-codeTokenMF restores the last working configuration from its switch history.
Next Steps
- Learn about common workflows for day-to-day usage including
set(direct configuration) andsave(reusable templates) - Browse the full command reference for detailed parameters
- See usage examples for each supported application
