Installing the Deta CLI

Configuring & Installing the Deta CLI

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

curl -fsSL | sh

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

Logging in to Deta via the CLI

Once you have successfully installed the Deta CLI, you need to login 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 login, you are ready to start building Micros.