This guide takes you from a fresh install to running your first commands against a Dynamic environment.Documentation Index
Fetch the complete documentation index at: https://www.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
What you need: Node.js 18+ and a Dynamic account. If you don’t have an account yet, create one in the Dynamic dashboard.
1. Install
dyn binary globally. Verify the install:
2. Authenticate
3. Check your context
4. Select an environment
5. Run your first commands
Discover what’s configurable, then read a value:-o json to any command for machine-readable output:
6. Log out
On shared machines, clear your stored token when you’re done:Next steps
Config as code
Export an environment to YAML and apply changes with safety gates.
Project settings
Read and write the settings tree with
dyn settings.Managing embedded wallets
Configure embedded wallet behavior from the terminal.
Authentication & CI
Run the CLI non-interactively in pipelines.
Troubleshooting
If a command reports no active environment, rundyn environments switch to select one, then retry. If your token has expired, re-run dyn auth login.