2
2

More than 3 years have passed since last update.

Electronインストール for Ubuntu18

Last updated at Posted at 2019-10-29

Ubuntu18 PCへのElectron環境インストール手順とサンプルアプリの実行方法をまとめています。

Electron環境構築

Node.js等の必要なパッケージ類をインストールします。

$ sudo apt install nodejs
$ sudo apt install npm
$ sudo apt install libappindicator1

Electron本体(中身はChromium + Node.jsライブラリ群)はグローバルな環境にパスを通してインストールしておきます。

$ sudo npm install electron -g

サンプル実行

Quick start Electron demo app

よく出てくるElectronのクイックスタートサンプルです。

$ git clone https://github.com/electron/electron-quick-start
$ cd electron-quick-start
$ npm install
$ npm start

YouTube Music Desktop App

YouTube Musicのデスクトップアプリです。よく出来ています。

$ git clone https://github.com/adlerluiz/ytmdesktop
$ cd ytmdesktop
$ npm install
$ npm start
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2