<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Installation on Nebula Commander</title><link>https://nebulacdr.com/docs/usage/ncclient/installation/</link><description>Recent content in Installation on Nebula Commander</description><generator>Hugo</generator><language>en</language><atom:link href="https://nebulacdr.com/docs/usage/ncclient/installation/index.xml" rel="self" type="application/rss+xml"/><item><title>Docker</title><link>https://nebulacdr.com/docs/usage/ncclient/installation/docker/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://nebulacdr.com/docs/usage/ncclient/installation/docker/</guid><description>&lt;p&gt;The Docker client is the &lt;strong&gt;preferred&lt;/strong&gt; method for the &lt;strong&gt;first lighthouse&lt;/strong&gt; in a network so the container can run dnsmasq and you can use &lt;a href="https://nebulacdr.com/docs/web-ui/dns/"&gt;Magic DNS&lt;/a&gt; (split-horizon DNS) for the network. Other devices (CLI, tray, or additional Docker clients) can then resolve Nebula hostnames via the lighthouse.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Image:&lt;/strong&gt; &lt;code&gt;ghcr.io/nixrtr/nebula-commander-ncclient:latest&lt;/code&gt;, or build from the repo &lt;code&gt;client/docker&lt;/code&gt; (Dockerfile in that directory).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Required environment:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;NEBULA_COMMANDER_SERVER&lt;/code&gt; – Base URL of your Nebula Commander backend (e.g. &lt;code&gt;https://nc.example.com&lt;/code&gt;), no trailing slash.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Optional environment:&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Binaries</title><link>https://nebulacdr.com/docs/usage/ncclient/installation/binaries/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://nebulacdr.com/docs/usage/ncclient/installation/binaries/</guid><description>&lt;p&gt;If Docker is not an option, use binaries from the Web UI or GitHub Releases.&lt;/p&gt;
&lt;h2 id="from-web-ui"&gt;From Web UI&lt;/h2&gt;
&lt;p&gt;When your Nebula Commander instance is deployed with client binaries included (for example the frontend image built with &lt;code&gt;DOWNLOAD_BINARIES=1&lt;/code&gt;), the Web UI can serve them.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open your Nebula Commander URL in a browser and log in.&lt;/li&gt;
&lt;li&gt;Go to the downloads or client section (or open &lt;code&gt;https://YOUR_SERVER/downloads/&lt;/code&gt; if your instance serves that path).&lt;/li&gt;
&lt;li&gt;Download the binary for your platform:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Linux x86_64:&lt;/strong&gt; &lt;code&gt;ncclient-linux-amd64&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Linux ARM64:&lt;/strong&gt; &lt;code&gt;ncclient-linux-arm64&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Windows x86_64:&lt;/strong&gt; &lt;code&gt;ncclient-windows-amd64.exe&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;macOS Intel:&lt;/strong&gt; &lt;code&gt;ncclient-macos-amd64&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;macOS Apple Silicon:&lt;/strong&gt; &lt;code&gt;ncclient-macos-arm64&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Place the file in a directory on your PATH (or add that directory to PATH). On Linux and macOS, make it executable: &lt;code&gt;chmod +x ncclient-linux-amd64&lt;/code&gt; (or the file you downloaded).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If your instance does not serve binaries, use &lt;a href="https://nebulacdr.com/docs/usage/ncclient/installation/binaries/#from-releases"&gt;From releases&lt;/a&gt; or &lt;a href="https://nebulacdr.com/docs/usage/ncclient/installation/pip/"&gt;Pip (PyPI)&lt;/a&gt; instead.&lt;/p&gt;</description></item><item><title>Windows Installer</title><link>https://nebulacdr.com/docs/usage/ncclient/installation/windows/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://nebulacdr.com/docs/usage/ncclient/installation/windows/</guid><description>&lt;p&gt;On Windows the MSI installer sets up the ncclient CLI, an unelevated tray control UI, and a background Windows Service that does the actual work as &lt;code&gt;LocalSystem&lt;/code&gt; - no UAC prompts for enrolling, starting/stopping, or applying split-horizon DNS.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What the installer includes:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;ncclient&lt;/strong&gt; – CLI for enrollment and daemon (poll for config/certs, run or restart Nebula).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ncclient-tray&lt;/strong&gt; – Unelevated system tray control UI: enroll, settings, and start/stop/restart the background service.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ncclient-service&lt;/strong&gt; – The &lt;code&gt;NebulaCommanderService&lt;/code&gt; Windows Service that polls for config/certs and runs Nebula as &lt;code&gt;LocalSystem&lt;/code&gt;. Starts automatically at boot; the tray talks to it over a local named pipe.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All three are installed to &lt;code&gt;%ProgramFiles%\Nebula Commander\&lt;/code&gt;. The installer can add that directory to PATH, creates Start Menu shortcuts, and registers/starts the service.&lt;/p&gt;</description></item><item><title>NixOS</title><link>https://nebulacdr.com/docs/usage/ncclient/installation/nixos/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://nebulacdr.com/docs/usage/ncclient/installation/nixos/</guid><description>&lt;p&gt;A &lt;code&gt;services.ncclient&lt;/code&gt; module runs ncclient declaratively as a systemd service — an alternative to the Docker image, the Windows service, or a hand-written unit (see &lt;a href="https://nebulacdr.com/docs/usage/ncclient/usage/#install-service"&gt;Install service&lt;/a&gt; in Usage). It&amp;rsquo;s exposed by the same &lt;code&gt;flake.nix&lt;/code&gt; as the &lt;a href="https://nebulacdr.com/docs/installation/nixos/#adding-via-a-flake"&gt;server module&lt;/a&gt;, as &lt;code&gt;nixosModules.client&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-nix" data-lang="nix"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; inputs&lt;span style="color:#f92672"&gt;.&lt;/span&gt;nebula-commander&lt;span style="color:#f92672"&gt;.&lt;/span&gt;url &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;github:NixRTR/nebula-commander&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; outputs &lt;span style="color:#f92672"&gt;=&lt;/span&gt; { self&lt;span style="color:#f92672"&gt;,&lt;/span&gt; nixpkgs&lt;span style="color:#f92672"&gt;,&lt;/span&gt; nebula-commander&lt;span style="color:#f92672"&gt;,&lt;/span&gt; &lt;span style="color:#f92672"&gt;...&lt;/span&gt; }: {
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; nixosConfigurations&lt;span style="color:#f92672"&gt;.&lt;/span&gt;yourHost &lt;span style="color:#f92672"&gt;=&lt;/span&gt; nixpkgs&lt;span style="color:#f92672"&gt;.&lt;/span&gt;lib&lt;span style="color:#f92672"&gt;.&lt;/span&gt;nixosSystem {
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; system &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;x86_64-linux&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; modules &lt;span style="color:#f92672"&gt;=&lt;/span&gt; [
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#e6db74"&gt;./configuration.nix&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; nebula-commander&lt;span style="color:#f92672"&gt;.&lt;/span&gt;nixosModules&lt;span style="color:#f92672"&gt;.&lt;/span&gt;client
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; ];
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; };
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; };
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Or import &lt;code&gt;nix/client-module.nix&lt;/code&gt; directly by path if you&amp;rsquo;re not using a flake, the same way the &lt;a href="https://nebulacdr.com/docs/installation/nixos/#adding-the-module-path-based-no-flake"&gt;server module&lt;/a&gt; can be.&lt;/p&gt;</description></item><item><title>Pip (PyPI)</title><link>https://nebulacdr.com/docs/usage/ncclient/installation/pip/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://nebulacdr.com/docs/usage/ncclient/installation/pip/</guid><description>&lt;p&gt;&lt;strong&gt;Fallback method&lt;/strong&gt; when Docker, binaries, or NixOS are not suitable (e.g. no Docker, or you need to run from source).&lt;/p&gt;
&lt;p&gt;From PyPI:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pip install nebula-commander
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Requires Python 3.10+. This installs the &lt;code&gt;ncclient&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;From source (repo clone):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cd nebula-commander
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pip install -r client/requirements.txt
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then run as &lt;code&gt;python -m client --server URL enroll --code XXX&lt;/code&gt;, or install the client in development mode to get the &lt;code&gt;ncclient&lt;/code&gt; command:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cd client
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pip install -e .
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>