Installation
To get started with SitePack, you need to install the CLI on your machine. The CLI is available as an npm package and can be used with any major package manager.
Prerequisites
Before installing the SitePack CLI, ensure you have Node.js installed on your machine.
- Minimum version: Node.js 18.0.0 or higher.
- Recommended version: Latest LTS version.
Install the CLI
You can install the SitePack CLI globally using your preferred package manager.
- npm
- Yarn
- pnpm
npm install -g sitepack-cli
yarn global add sitepack-cli
pnpm add -g sitepack-cli
Run directly without installation
If you prefer not to install the CLI globally, you can run it directly using npx or yarn dlx:
- npx
- Yarn dlx
npx sitepack-cli [command]
yarn dlx sitepack-cli [command]
Verify Installation
Once installed, you can verify that the CLI is working correctly by running the following command:
sitepack --version
This should display the current version of the SitePack CLI.
Open Source
The SitePack CLI is open source! You can find the source code, report issues, or contribute to the project on our GitHub repository: