Sha256: 26278587ac8be59b21332a9f458a2d9a0736a6ed0723630a383dbe1b8044b016

Contents?: true

Size: 1.85 KB

Versions: 14

Compression:

Stored size: 1.85 KB

Contents

---
title: Core commands
section: core
---

## `help`

Lists the available commands and describes what they do. The commands available will vary depending on whether you are inside a project directory, and what kind of project it is.

```console
$ shopify help
$ shopify -h
$ shopify --help
```

You can also use the `help` command or options to get more detailed information about a specific command:

```console
$ shopify help [command]
$ shopify [command] -h
$ shopify [command] --help
```

## `connect`

Connect an existing Shopify App CLI project with Shopify, such as a Partner account or a specific Shopify development store. This command re-creates the project’s `.env` file with your authentication tokens.

This is useful if you are working on one project across multiple computers, or collaborating with other developers using a version control system like git.

```console
$ shopify connect
```

## `create`

Create a new project of the specified type. The project will be created in a subdirectory of the current directory:

```console
$ shopify create
```

When running the `create` command on its own, the CLI will prompt you to choose a project type:

```console
$ shopify create
? What type of project would you like to create? (Choose with ↑ ↓ ⏎, filter with 'f')
> 1. Node.js App
  2. Ruby on Rails App
```

You can also specify the type of app you want to create using a subcommand:
- For a Node.js app: `node`
- For a Ruby on Rails app: `rails`

If you specify a type, then Shopify App CLI will skip ahead and prompt you to enter a name for your project:

```console
$ shopify create node
? App Name
> 
```

## `logout`

Log out of the currently authenticated partner organization and store. The `logout` command clears any invalid credentials. You’ll need to re-authenticate the next time you connect your project to Shopify.

```console
$ shopify logout
```

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
shopify-cli-1.2.0 docs/core/index.md
shopify-cli-1.1.2 docs/core/index.md
shopify-cli-1.1.1 docs/core/index.md
shopify-cli-1.1.0 docs/core/index.md
shopify-cli-1.0.5 docs/core/index.md
shopify-cli-1.0.4 docs/core/index.md
shopify-cli-1.0.3 docs/core/index.md
shopify-cli-1.0.2 docs/core/index.md
shopify-cli-1.0.1 docs/core/index.md
shopify-cli-1.0.0 docs/core/index.md
shopify-cli-0.9.3 docs/core/index.md
shopify-cli-0.9.2 docs/core/index.md
shopify-cli-0.9.1 docs/core/index.md
shopify-cli-0.9.0 docs/core/index.md