Installing the Deta CLI

Installing & Configuring the Deta CLI#

To install the Deta CLI, open a Terminal and enter:

curl -fsSL https://get.deta.dev/cli.sh | sh

This will download the binary which contains the CLI code. It will try to export the deta command to your path. If it does not succeed, follow the directions outputted by the install script to export deta to your path.

Logging into Deta via the CLI#

Once you have successfully installed the Deta CLI, you'll need to log in to Deta.

From a Terminal, type deta login.

This command will open your browser and authenticate your CLI through Deta's web application.

Upon a successful log-in, you are ready to start building Micros.