Quick Start
NOTE
Before getting started, install the latest flow version using one of the methods described in the installation guide.
This guide will walk you through creating your first workspace and executable with flow in about 5 minutes.
1. Create Your First Workspace
A workspace is where flow looks for your executables. Create one in any directory:
flow workspace add my-workspace . --setThis registers the workspace and creates a flow.yaml config file. The --set flag makes it your current workspace.
2. Create Your First Executable
Executables are defined in flow files (.flow, .flow.yaml, or .flow.yml). Let's create one:
touch hello.flowOpen the file and add this content:
executables:
- verb: run
name: hello
exec:
params:
- prompt: What is your name?
envKey: NAME
cmd: echo "Hello, $NAME! Welcome to flow 🎉"This creates an executable that prompts for your name and greets you.
3. Sync and Run
Update flow's index of executables:
flow syncNow run your executable:
flow run helloYou'll be prompted for your name, then see your personalized greeting!
4. Try the Interactive Browser
flow's TUI makes it easy to discover and run executables:
flow browseUse arrow keys to navigate press R to run an executable that you have selected.
5. Add More Executables
Try adding different types of executables to your hello.flow file:
executables:
- verb: run
name: hello
exec:
params:
- prompt: What is your name?
envKey: NAME
cmd: echo "Hello, $NAME! Welcome to flow 🎉"
- verb: open
name: docs
launch:
uri: https://flowexec.io
- verb: test
name: system
exec:
cmd: |
echo "Testing system info..."
echo "OS: $(uname -s)"
echo "User: $(whoami)"
echo "Date: $(date)"Run flow sync then try:
flow open docs- Opens the flow documentationflow test system- Shows system information
6. Explore a Real Workspace
Want to see more examples? Add the flow project itself as a workspace:
git clone https://github.com/flowexec/flow.git
flow workspace add flow flow
flow workspace switch flowThen browse the executables:
flow browseYou'll see real-world examples of builds, tests, and development workflows used for developing flow.
What's Next?
Now that you've got the basics:
- Learn the fundamentals → Core concepts
- Secure your workflows → Working with secrets
- Build complex automations → Advanced workflows
- Customize your experience → Interactive UI
Getting Help
- Browse the docs → Explore the guides and reference sections
- Join the community → Discord server
- Report issues → GitHub issues

