---
title: "Installing Daras CLI and signing in to your store — Daras Help Center"
description: "Install @darastr/cli globally, sign in via browser authorization or email and password, and switch between multiple environments (profiles)."
canonical_url: "https://daras.com.tr/en/help-center/developer/install-daras-cli-and-login"
locale: en
meta:
  "og:description": "Install @darastr/cli globally, sign in via browser authorization or email and password, and switch between multiple environments (profiles)."
  "og:title": "Installing Daras CLI and signing in to your store — Daras Help Center"
---

# **Installing Daras CLI and signing in to your store**

Daras CLI (the `daras` command) is the official command-line tool for theme development, webhooks, and app management from your terminal; it also bundles `@daras/theme-kit`.

### Steps

1. Install the CLI globally: `npm i -g @darastr/cli`.
2. Run `daras login`; the terminal displays a verification code and opens the "Daras CLI erişim isteği" (Daras CLI access request) page in the Daras partner dashboard in your browser. Sign in with your partner account, verify that the code matches the one in your terminal, and click the "Erişime İzin Ver" (Allow Access) button; the session is saved to your terminal.
3. Browser authorization works only with partner accounts. To connect with your store account or run in a CI/script environment, use `daras login --email <email> --password <password>` or `daras login --token <token>`.
4. Run `daras whoami` to check which account and store the active session is connected to and whether the token is valid.
5. If you work with multiple environments (for example, production and test stores), add a profile with `daras env add <name> --url <url> --token <token> --store <id>` and switch to it with `daras env use <name>`; `daras env list` lists all profiles, and `daras env remove <name>` deletes a profile.
6. To sign out, run `daras logout` (active profile) or `daras logout --all` (all profiles).

### Tips

- `daras update` updates the CLI to the latest version on npm; `daras version` shows the installed version.
- Type `daras help` to see brief help for every command.

## **More guides in this category**

[**Testing REST endpoints in the browser with the Sandbox API console**](https://daras.com.tr/en/help-center/developer/test-rest-endpoints-sandbox-console) [**Monitoring webhook delivery logs and sending test notifications**](https://daras.com.tr/en/help-center/developer/monitor-and-test-webhook-deliveries) [**Creating API keys and setting scopes for programmatic access**](https://daras.com.tr/en/help-center/developer/create-api-keys-and-scopes)

**Didn't find the answer?**Open a request from the Daras support screen in your store panel.

[**Open a support request**](https://app.daras.com.tr/support/daras)

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
