1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Install n8n - Open Source Workflow Automation - on Windows</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,FOSS,Free Open Source Software,Free Open-Source Software,Free Software,Microsoft Windows,Open Source,Open Source Software,Open-Source,Windows,N8n,Integomat Alternative,Make Alternative,Nodemation,Graphical Software Integration,Workflow Automation,Application Integration Platform,Application Automation Platform,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Install n8n - Open Source Workflow Automation - on Windows">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="07/25/2022 09:46:46 PM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Install n8n - Open Source Workflow Automation - on Windows</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>What is n8n?</h2>
- <blockquote><em>n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything. -<a href="https://github.com/n8n-io/n8n" target="_blank">https://github.com/n8n-io/n8n</a></em></blockquote>
- <h2>Installing n8n</h2>
- <ol>
- <li>Log into the Windows device</li>
- <li>Download NodeJS <a href="https://nodejs.org/en/download/" target="_blank">Download</a></li>
- <li>Install NodeJS > During the install, make sure to check the Tools for Native Modules option</li>
- <li>At the Native Modules prompt, press any key to begin the installation process<br />
- <span style="font-size:12px;"><em>NOTE: This process takes quite a while to install, be patient. Proceed once the PowerShell window closes</em></span></li>
- <li>Open File Explorer and navigate to C:\Windows\System32\LogFiles\WMI</li>
- <li>Right click on RtBackup > Properties > Security tab > Click Advanced</li>
- <li>Click the Change option next to the Owner field > Type administrators > Click OK</li>
- <li>Check the Replace all child objects box > Click OK</li>
- <li>Click Yes to confirm</li>
- <li>Click OK on all open dialog windows</li>
- <li>Launch PowerShell as an administrator</li>
- <li>Run the following commands in the PowerShell window
- <div class="codeBlock PS"># install n8n<br />
- npm install n8n --location=global<br />
- # test run n8n<br />
- npx n8n</div>
- </li>
- <li>If n8n errors out with a permissions issue, back in File Explorer, navigate to C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache</li>
- <li>Right click on Content.IE5 > Properties > Security tab > Click Edit...</li>
- <li>Select the Everyone entry > Click Remove</li>
- <li>Click OK on all open dialog windows</li>
- <li>Click on the Start Button > Type task > Launch Task Scheduler</li>
- <li>Right click the Task Scheduler Library folder in the left pane > Create Basic Task...</li>
- <li>Set the name to n8n and optionally set a Description > Click Next</li>
- <li>For the Trigger, select When the computer starts > Click Next</li>
- <li>For the Action, select Start a program > Click Next</li>
- <li>Complete the form fields as follows:
- <p>Program/script: "%ProgramFiles%\nodejs\npx.cmd"<br />
- Add arguments: n8n</p>
- </li>
- <li>Click Next</li>
- <li>Check the Open the Properties dialog checkbox > Click Finish</li>
- <li>In the Properties dialog, select Run whether user is logged on or not</li>
- <li>Check the Run with highest privileges box > Click OK to create the scheduled task</li>
- <li>Right click the n8n task > Run</li>
- <li>Open a web browser and navigate to http://DNSorIP:5678</li>
- <li>Complete the form with an email, first name, last name and password > Click next</li>
- <li>Complete the questionnaire > Click continue</li>
- <li>Click Get started</li>
- <li>Welcome to n8n</li>
- </ol>
- <p><em>By default, the n8n database and configuration file live in the user's profile .n8n folder (ie C:\Users\i12bretro\.n8n). To utilize a database other than SQLite, setup the database and authentication, then create a .bat file like the example below and call the .bat file as the action of the scheduled task.</em></p>
- <p><code>SET DB_TYPE=mysqldb<br />
- SET DB_MYSQLDB_DATABASE=n8n<br />
- SET DB_MYSQLDB_HOST=localhost<br />
- SET DB_MYSQLDB_USER=n8n_rw<br />
- SET DB_MYSQLDB_PASSWORD=n8n_N8N!<br />
- SET GENERIC_TIMEZONE=America/New_York<br />
- "%programfiles%\nodejs\npx.cmd" n8n</code></p>
- <p>Source: <a href="https://docs.n8n.io/hosting/installation/npm/" target="_blank">https://docs.n8n.io/hosting/installation/npm/</a></p> </div>
- </div>
- </body>
- </html>
-
|