GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing www.contentstack.com — Import Content Using the Seed Command | V2.x.x | Contentstack Import Content Using the Seed CommandupdateLast updated November 6, 2026 OverviewThe seed command in the Contentstack CLI allows you to import content into your stack from GitHub repositories. It helps you migrate content with minimal steps and setup. You can import content into your stack from the following sources:
Prerequisites
CommandsTo use the seed command, choose one of the following options to import content into your stack. NoteTo upload your stack’s content to a GitHub repository for others to import, refer to the steps in the Upload Stack's Content on GitHub section. Import from Contentstack’s GitHub OrganizationYou can import content directly from Contentstack’s GitHub organization using the CLI. To begin, run the following command in your terminal: 1 csdx cm:stacks:seed After running the command, you’ll be prompted to complete the following steps:
Tip To minimize errors, we recommend creating a new destination stack. If importing content into an existing stack, ensure that it is empty. The content will be imported into the selected destination stack. Import from a Non-Contentstack GitHub RepositoryYou can import content from your GitHub repository into your stack using this option. Before doing so, ensure your GitHub repository contains the content. To upload content, follow the steps in the Upload Stack’s Content on GitHub section. NoteThe GitHub repository must be public. To import content, run the following seed command: 1 csdx cm:stacks:seed --repo “<account/repository>” After running this command, you’ll be prompted to select an organization and a stack, as described in the Import from Contentstack’s GitHub Organization section. Alternatively, you can run the command with all required parameters in a single line. Options:
Examples:
Upload Stack’s Content on GitHubBefore uploading your stack’s content to GitHub, export it using the following steps.
Now any user can import your stack’s content to their stack by performing the steps mentioned in the Import from a Non-Contentstack GitHub Repository section. Points to Remember
ExamplesSeed a new stack in an organization from the default starter repository. 1 csdx cm:stacks:seed --org <ORG_UID> --stack-name <NEW_STACK_NAME> Seed from a specific GitHub repository into an existing stack. 1 csdx cm:stacks:seed --repo <GITHUB_ORG>/<REPO_NAME> --stack-api-key <STACK_API_KEY> Seed without the confirmation prompt, for use in a script. 1 csdx cm:stacks:seed --org <ORG_UID> --stack-name <NEW_STACK_NAME> --yes Limitations
| ||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |