開発環境のセットアップ
Electron開発に必要なNode.js、npmなどの基本ツールをインストールし、ビルド可能な状態にシステムを整える方法を学びます。
「開発環境のセットアップ」はCoddyKit上の無料Electron Desktop App Developmentレッスンです。 これはレッスン2/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはElectron Desktop App Development学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Electron Desktop App Developmentコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
Welcome to Setup!
Building Electron apps starts with a solid setup. In this lesson you will install and verify the core tools your projects depend on.
Node.js: The Foundation
Node.js runs JavaScript outside the browser on Chrome's V8 engine. Electron leans on it for everything the main process does.
Installing Node.js
Install Node.js from the official site — pick the LTS version for stability and follow the wizard. npm comes bundled with it.
Verify Node.js Install
Confirm Node.js works by running a tiny JS file with the node command. The snippet below prints a quick ready message.
console.log("Node.js is ready!");npm: Your Package Manager
npm ships with Node.js and manages your packages — installing, sharing, and updating the reusable code your Electron app depends on.
Verify npm Install
Since npm comes with Node.js, just verify it: run "npm -v" and you should see a version number, confirming it is ready.
Choose Your Code Editor
A good editor smooths everything. VS Code is the top pick for Electron — free, cross-platform, with great JS/HTML/CSS support and debugging.
Git for Version Control
Git tracks changes and is the industry standard. Not strictly required for Hello World, but most Electron templates live on GitHub.
The System PATH Variable
The system PATH tells your terminal where to find commands like node and npm. Installers add Node's location so it works from any directory.
Environment Setup Check!
Which of the following statements about Node.js and npm is TRUE?
Recap: Environment Ready!
Your environment is ready: Node.js to run JS, npm for packages, an editor like VS Code, plus Git and PATH. Time to build your first app!
よくある質問
「開発環境のセットアップ」レッスンは無料ですか?
はい。「開発環境のセットアップ」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Electron Desktop App Developmentコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Electron Desktop App Developmentコースには全4レッスンが含まれています。
「開発環境のセットアップ」で何を学びますか?
Electron開発に必要なNode.js、npmなどの基本ツールをインストールし、ビルド可能な状態にシステムを整える方法を学びます。 ブラウザで直接実行するハンズオンコードでElectron Desktop App Developmentを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
Electron Desktop App Developmentを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのElectron Desktop App Developmentは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン2/4です。
「開発環境のセットアップ」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このElectron Desktop App Developmentレッスンでコードを書いて実行できますか?
はい。すべてのElectron Desktop App Developmentレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。