-
Notifications
You must be signed in to change notification settings - Fork 262
Expand file tree
/
Copy pathgenerated_static_pages.json
More file actions
121 lines (121 loc) · 5.57 KB
/
Copy pathgenerated_static_pages.json
File metadata and controls
121 lines (121 loc) · 5.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[
{
"title": "Shopify CLI",
"description": "Shopify CLI is a command-line interface tool that helps you generate and work with Shopify apps, themes and custom storefronts. You can also use it to automate many common development tasks.",
"id": "Shopify CLI",
"image": "/assets/landing-pages/templated-apis/web-pixels-api/landing-page.png",
"darkImage": "/assets/landing-pages/templated-apis/web-pixels-api/landing-page.png",
"sections": [
{
"type": "Generic",
"anchorLink": "requirements",
"title": "Requirements",
"sectionContent": "\n- [Node.js](https://nodejs.org/en/download/): 22.12 or higher\n- A Node.js package manager: [npm](https://www.npmjs.com/get-npm), [Yarn 1.x](https://classic.yarnpkg.com/lang/en/docs/install), or [pnpm](https://pnpm.io/installation).\n- [Git](https://git-scm.com/downloads): 2.28.0 or higher\n"
},
{
"type": "Generic",
"anchorLink": "installation",
"title": "Installation",
"sectionContent": "This installs Shopify CLI globally on your system, so you can run `shopify` commands from any directory. Find out more about the available commands by running `shopify` in your terminal.",
"codeblock": {
"title": "",
"tabs": [
{
"title": "npm",
"code": "npm install -g @shopify/cli@latest\n",
"language": "bash"
},
{
"title": "yarn",
"code": "yarn global add @shopify/cli@latest\n",
"language": "bash"
},
{
"title": "pnpm",
"code": "pnpm install -g @shopify/cli@latest\n",
"language": "bash"
},
{
"title": "homebrew",
"code": "# Only for macOS\nbrew tap shopify/shopify\nbrew install shopify-cli\n",
"language": "bash"
}
]
}
},
{
"type": "Generic",
"anchorLink": "commands",
"title": "Commands",
"sectionContent": "\nShopify CLI groups commands into topics. The command syntax is: `shopify [topic] [command]`.\nRefer to each topic section in the sidebar for a list of available commands.\n\nOr, run the `help` command to get this information right in your terminal.\n",
"codeblock": {
"title": "terminal",
"tabs": [
{
"code": "shopify help\n",
"language": "bash"
}
]
}
},
{
"type": "Generic",
"anchorLink": "upgrade",
"sectionContent": "We recommend that you always use the latest version of Shopify CLI if possible. To upgrade, run `version` to check the current version and determine if there are any updates available. Run the [install](#installation) command to upgrade to the latest CLI version.",
"title": "Upgrade Shopify CLI",
"codeblock": {
"title": "terminal",
"tabs": [
{
"code": "shopify version\n> Current Shopify CLI version: 3.50.0\n> 💡 Version 3.51.0 available!\n\nnpm install -g @shopify/cli@latest\n",
"language": "bash"
}
]
}
},
{
"type": "Generic",
"anchorLink": "network-proxy",
"title": "Network proxy configuration",
"sectionContent": "When working behind a network proxy, you can configure Shopify CLI (version 3.78+) to route connections through it:\n\n1. Set the proxy for HTTP traffic:\n\n ```bash\n export SHOPIFY_HTTP_PROXY=http://proxy.com:8080\n ```\n\n2. Optionally, set a different proxy for HTTPS traffic:\n\n ```bash\n export SHOPIFY_HTTPS_PROXY=https://secure-proxy.com:8443\n ```\n\n If not specified, the HTTP proxy will be used for all traffic.\n\n3. For authenticated proxies, include credentials in the URL:\n\n ```bash\n export SHOPIFY_HTTP_PROXY=http://username:password@proxy.com:8080\n ```"
},
{
"type": "Generic",
"anchorLink": "reporting",
"title": "Usage reporting",
"sectionContent": "Anonymous usage statistics are collected by default. To opt out, you can use the environment variable `SHOPIFY_CLI_NO_ANALYTICS=1`."
},
{
"type": "Generic",
"anchorLink": "contribute",
"title": "Contribute to Shopify CLI",
"sectionContent": "Shopify CLI is open source. [Learn how to contribute](https://github.com/Shopify/cli/wiki/Contributors:-Introduction) to our GitHub repository."
},
{
"type": "Generic",
"anchorLink": "help",
"title": "Where to get help",
"sectionContent": "\n- [Shopify CLI and Libraries](https://community.shopify.dev/c/shopify-cli-libraries/14) - Report any issues with the CLI.\n- [Dev Platform](https://community.shopify.dev/c/dev-platform/32) - Ask any questions and learn more about the Dev Platform powering the CLI.\n"
},
{
"type": "Resource",
"anchorLink": "resources",
"title": "Resources",
"resources": [
{
"name": "Start building a theme",
"subtitle": "Learn how to set up your theme development environment and create a new theme",
"url": "/docs/themes/getting-started/create",
"type": "component"
},
{
"name": "Start building an app",
"subtitle": "Learn how to set up your app development environment and start building",
"url": "/docs/apps/getting-started/create",
"type": "tutorial"
}
]
}
]
}
]