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 installed using any of the major package managers.
Prerequisites
Before installing the SitePack CLI, ensure you have Node.js installed on your machine (version 24 or higher is recommended).
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 with npx
If you prefer not to install the CLI globally, you can run it directly using npx:
npx 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 installed on your machine.
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: