90 lines
3.1 KiB
Markdown
90 lines
3.1 KiB
Markdown
# Developer Environment
|
||
|
||
NodeGui development is essentially Node.js development. To turn your operating
|
||
system into an environment capable of building desktop apps with NodeGui,
|
||
you will merely need Node.js, npm, a code editor of your choice, and a
|
||
rudimentary understanding of your operating system's command line client.
|
||
|
||
## Setting up macOS
|
||
|
||
> NodeGui supports macOS 10.10 (Yosemite) and up. NodeGui currently only supports 64bit OS.
|
||
|
||
Currently supported Node.Js versions are 12.x and up.
|
||
|
||
We strongly suggest you use some kind of version manager for Node.Js. This would allow you to switch to any version of nodejs quite easily. We recommend `nvm`: https://github.com/nvm-sh/nvm
|
||
|
||
Confirm that both `node` and `npm` are available by running:
|
||
|
||
```sh
|
||
# This command should print the version of Node.js
|
||
node -v
|
||
|
||
# This command should print the version of npm
|
||
npm -v
|
||
```
|
||
|
||
If both commands printed a version number, you are all set! Before you get
|
||
started, you might want to install a [code editor](#a-good-editor) suited
|
||
for JavaScript development.
|
||
|
||
## Setting up Windows
|
||
|
||
> NodeGui supports Windows 7 and later versions – attempting to develop NodeGui
|
||
> applications on earlier versions of Windows might not work. NodeGui currently only supports 64bit OS.
|
||
|
||
Currently supported Node.Js versions are 12.x and up.
|
||
|
||
We strongly suggest you use some kind of version manager for Node.Js. This would allow you to switch to any version of nodejs quite easily. We recommend `nvm`: https://github.com/nvm-sh/nvm
|
||
|
||
We strongly recommend Powershell as preferred terminal in Windows.
|
||
|
||
Confirm that both `node` and `npm` are available by running:
|
||
|
||
```powershell
|
||
# This command should print the version of Node.js
|
||
node -v
|
||
|
||
# This command should print the version of npm
|
||
npm -v
|
||
```
|
||
|
||
If both commands printed a version number, you are all set! Before you get
|
||
started, you might want to install a [code editor](#a-good-editor) suited
|
||
for JavaScript development.
|
||
|
||
## Setting up Linux
|
||
|
||
> NodeGui currently supports Ubuntu 12.04 and Debian 8 and up. Although other linux distributions can also be easily supported. NodeGui currently only supports 64bit OS.
|
||
|
||
Currently supported Node.Js versions are 12.x and up.
|
||
|
||
We strongly suggest you use some kind of version manager for Node.Js. This would allow you to switch to any version of nodejs quite easily. We recommend `nvm`: https://github.com/nvm-sh/nvm
|
||
|
||
We strongly recommend Powershell as preferred terminal in Windows.
|
||
|
||
Confirm that both `node` and `npm` are available by running:
|
||
|
||
```sh
|
||
# This command should print the version of Node.js
|
||
node -v
|
||
|
||
# This command should print the version of npm
|
||
npm -v
|
||
```
|
||
|
||
If both commands printed a version number, you are all set! Before you get
|
||
started, you might want to install a [code editor](#a-good-editor) suited
|
||
for JavaScript development.
|
||
|
||
## A Good Editor
|
||
|
||
We might suggest two free popular editors built in NodeGui:
|
||
GitHub's [Atom][atom] and Microsoft's [Visual Studio Code][code]. Both of
|
||
them have excellent JavaScript support.
|
||
|
||
If you are one of the many developers with a strong preference, know that
|
||
virtually all code editors and IDEs these days support JavaScript.
|
||
|
||
[code]: https://code.visualstudio.com/
|
||
[atom]: https://atom.io/
|