Requirements
Before installing Sher, make sure you have Node.js installed:- Node.js 16.x or higher (18.x or 20.x recommended)
Sher works with any package manager: npm, yarn, pnpm, or bun. The CLI will automatically detect which one your project uses.
Global Installation
Install Sher globally to use it across all your projects:Local Installation
Alternatively, install Sher as a dev dependency in a specific project:package.json
Verify Installation
Check that Sher is installed correctly by running:0.4.9).
If the command is not found, make sure your global npm/yarn/pnpm bin directory is in your PATH. Run
npm config get prefix to find the location.Update Sher
To update Sher to the latest version:Uninstall
To remove Sher from your system:Supported Frameworks
Sher automatically detects and supports:- Vite (React, Vue, Svelte, Solid, etc.)
- Next.js (static export, auto-configured)
- Astro
- Create React App
- Custom projects with a
buildscript anddist/,build/, orout/directory
Next Steps
Now that Sher is installed, learn how to use it:Quickstart Guide
Deploy your first project in under 60 seconds