proton-native/docs/quickstart.md
2018-06-18 20:45:49 -04:00

676 B

Quickstart

Prerequisites

Linux

libgtk-3-dev build-essential

Install

Automatic

If you're on Windows, you may need to install windows-build-tools to compile libui-node correctly.

# install the cli app
npm install -g create-proton-app
# create your project
create-proton-app my-app
# move to your project directory
cd my-app
# run your app
npm run start

You can alternatively use npx if you prefer.

Manual

The old manual instructions are still available here

Optional Extras

If you love using TypeScript, thanks to the efforts of @khanhas, typings are provided through the @types/proton-native package.