How to use Foundry CLI

Foundry CLI is an open-sourced command-line tool that lets you interact with your cloud development environment.

To install Foundry CLI please read:

All available commands can be printed by calling $ foundry --help.

  • $ foundry init Creates a default foundry.yaml config file in the current directory

  • $ foundry go Start an interactive prompt and connects you to your cloud development environment

  • $ foundry env-set ENV_NAME=VAL Sets the environment variable(s) in your cloud development environment

  • $ foundry env-delete ENV_NAME Deletes the environment variable(s) in your cloud development environment

  • $ foundry env-print Prints environment variable(s) in your cloud development environment

  • $ foundry sign-up Create a new Foundry account in your terminal

  • $ foundry sign-in Sign in to your Foundry account

  • $ foundry sign-out Sign out from your Foundry account