
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@shopify/cli
Advanced tools
With the Shopify command line interface (Shopify CLI 3.0), you can:
Learn more in the commands docs.
Install the latest version of Node.js and npm (or another package manager of your choice).
When you’re building a Shopify app, you can initialize your project using your preferred package manager. A single command will install all the dependencies you need — including Shopify CLI itself.
Initialize your project using one of the following commands:
npm init @shopify/app@latest
(installed by default with Node)pnpm create @shopify/create-app@latest
yarn create @shopify/app
bun create @shopify/app@latest
(experimental)Learn more in the docs: Create an app
To work with themes, the CLI needs to be installed globally with:
npm install -g @shopify/cli @shopify/theme
You can also use do it through Homebrew on macOS: brew tap shopify/shopify && brew install shopify-cli
Learn more in the docs: Shopify CLI for themes
The Hydrogen code lives here: https://github.com/Shopify/hydrogen/tree/main/packages/cli
Learn more in the docs: Shopify CLI for Hydrogen storefronts
If you encounter issues using the CLI or have feedback you'd like to share with us, below are some options:
If you'd like to contribute to the project, check out the contributors docs and the steps to get started.
create-react-app is a command-line tool for creating React applications. It sets up a new React project with a sensible default configuration, similar to how @shopify/cli sets up Shopify apps and themes. However, it is focused solely on React applications and does not provide specific tools for Shopify development.
vue-cli is a command-line tool for scaffolding Vue.js projects. It provides a similar experience to @shopify/cli by setting up a new Vue.js project with a default configuration. Like create-react-app, it is focused on Vue.js applications and does not offer Shopify-specific functionalities.
gatsby-cli is a command-line tool for creating and managing Gatsby projects. It helps developers set up new Gatsby sites and provides commands for developing, building, and deploying Gatsby projects. While it offers a similar development experience, it is tailored for Gatsby and static site generation rather than Shopify apps and themes.
FAQs
A CLI tool to build for the Shopify platform
The npm package @shopify/cli receives a total of 144,119 weekly downloads. As such, @shopify/cli popularity was classified as popular.
We found that @shopify/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.