Quickstart

Cloud services are a natural extension of your application, so managing them should feel like a natural extension of your workflow.

The following are a few basic commands to familiarize yourself with the most common CLI commands.

If you have not yet installed the tool, visit our install instructions.

Your Account

In order to begin using Manifold through the CLI you must first have an account.

New account

$ manifold signup

This will walk you through the signup process without leaving the comforts of your terminal! At the end, you will need to check your email for an email verification code.

Existing account

To log in to your account, we offer both standard password authentication, or GitHub authentication.

Password auth
$ manifold login
GitHub auth
$ manifold oauth --github

Note: if you’ve enabled GitHub authentication for your account, you can only authenticate via GitHub. To revert to normal password, reset your password from the Manifold Dashboard

Create a project

$ manifold projects create

This walks you through prompts to create a project in your account (make sure to run manifold switch to switch to a team if you’re using Manifold Teams).

Add services

$ manifold create

This can provision logging, monitoring or any of the other services available in our marketplace.

Save your config

$ manifold init

This will generate a .manifold.yml file in the current directory to save the current team and project that manifold run should reference.

Run your project

$ manifold run '[server start command]'

This executes any command or runtime, with your credentials accessible via environment variables for this session only.

Credential Aliasing (CLI only)
$ manifold alias [--team TEAM_NAME][--project PROJECT_NAME][--me (no team)]

This allows you to rename environment variables an an individual basis in case of a naming conflict or for personal preference.

⚠️ Warning: renaming your credentials will cause your application to fail! Make sure you only do this for new projects, or have planned for downtime.

Exporting to .env
$ manifold export

Alternately, this outputs your current configuration in .env format. If you would like to change the format, specify the -f option:

$ manifold export -f json

Next: Teams

manifold run operates within the context of either your project, or a team project. To learn more about that, continue reading about teams.