Quick Start
Launching apiki
Simply run:
apikiThis opens the interactive terminal interface. You’ll see a list of environment variables (initially empty if this is your first time).
Creating Your First Variable
- Press
+to create a new variable - Fill in the form:
- Name: The environment variable name (e.g.,
DATABASE_URL) - Value: The value to set (e.g.,
postgres://localhost/mydb) - Label: An optional description (e.g.,
Local development database)
- Name: The environment variable name (e.g.,
- Press
Enterto save
The variable appears in your list and is saved for future sessions.
Video coming soon
Selecting Variables
- Use
↑/↓orj/kto navigate the list - Press
Spaceto toggle selection
Note
Alternatives: If you have multiple values for the same variable name, selecting one automatically deselects the others. This makes it easy to switch between dev, staging, and production configurations.
Applying Changes
When you’re done selecting:
- Press
Enterto apply and quit - apiki sets the selected variables in your shell:
export DATABASE_URL='postgres://localhost/mydb' export API_KEY='secret123'
The variables are now set in your current shell session.
Filtering
Press / to open the filter input. Type to search through variables by name or label. Matching characters are highlighted.
- Press
Enterto apply the filter - Press
Escto clear the filter
Importing from Your Environment
You can import variables from your current shell:
- Press
ito enter import mode - Browse the list of current environment variables
- Select the ones you want to save
- Press
Enterto confirm
Imported variables are added to your collection with the label “imported from environment”.
Working with .env Files
apiki automatically discovers .env files in your current directory and parent directories. Variables from these files appear in your list with a label showing their source.
You can:
- Select them to use their values
- Save permanently (press
=on a .env variable) to add them to your collection