Slidev requires Node.js >=14.0
The best way to get started is using our official starter template.
$ npm init slidev@latest
$ yarn create slidev
Follow the prompts and it will open up the slideshow at http://localhost:3030/ automatically for you.
It also contains the basic setup and a short demo with instructions on how to get started with Slidev.
If you still prefer to install Slidev manually or would like to integrate it into your existing projects, you can do:
$ npm install @slidev/cli @slidev/theme-default
$ touch slides.md
$ npx slidev
echo 'shamefully-flatten=true' >> .npmrc
Available since v0.14
You can install Slidev globally with the following command
$ npm i -g @slidev/cli
And then use
slidev everywhere without creating a project every time.
This command will also try to use local
@slidev/cli if it has been found in the
Install on Docker
Refer to the slidevjs/container repo for more details.