-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.html
More file actions
134 lines (128 loc) · 6.64 KB
/
Copy pathinstall.html
File metadata and controls
134 lines (128 loc) · 6.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Install Macnite — one command via Homebrew</title>
<meta name="description" content="Install the Macnite cask from our Homebrew tap with one command — same Macnite-flavoured one-liner the rest of the site uses." />
<link rel="icon" type="image/svg+xml" href="logo.svg" />
<link rel="stylesheet" href="styles.css?v=3" />
</head>
<body>
<header class="hero">
<img class="logo" src="wordmark.svg" alt="Macnite" width="280" height="70" />
<h1 class="visually-hidden">Install Macnite</h1>
<p class="tagline">Install Macnite. One command.</p>
<p class="lede">
Grab the Macnite cask from our Homebrew tap. Same one-liner format the
rest of the site builds for you — it installs Homebrew if missing,
tracks any failures, and prints a done report.
</p>
</header>
<main>
<nav class="tabs-nav" aria-label="Sections">
<a class="tab-link" href="/">Apps</a>
<a class="tab-link" href="/presets.html">Presets</a>
<a class="tab-link" href="/fonts.html">Fonts</a>
<a class="tab-link is-active" href="/install.html" aria-current="page">Install Macnite</a>
</nav>
<aside class="preset-banner install-banner">
<div>
<strong>How to use Macnite once it's installed</strong>
<p>After the cask installs, here's the flow:</p>
<ul class="install-banner-features">
<li>Launch Macnite from Spotlight (<kbd>⌘</kbd>+<kbd>Space</kbd> → type <em>Macnite</em>) or your Applications folder</li>
<li>Tick apps on the picker, browse Presets, or grab Fonts</li>
<li>Hit <strong>Copy command</strong>, paste into Terminal, press Enter</li>
<li>Update later: <code>brew upgrade --cask seanblowers/macnite/macnite</code></li>
<li>Uninstall: <code>brew uninstall --cask seanblowers/macnite/macnite</code></li>
</ul>
</div>
<a class="preset-banner-cta" href="/">Pick some apps →</a>
</aside>
<section>
<h2>The command</h2>
<div class="cmd-wrap install-cmd">
<pre class="cmd-preview" id="install-cmd">command -v brew >/dev/null 2>&1 || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && eval "$(/opt/homebrew/bin/brew shellenv 2>/dev/null || /usr/local/bin/brew shellenv)" && macnite_fails="" && macnite_start=$SECONDS && for c in seanblowers/macnite/macnite; do brew install --cask "$c" || macnite_fails="$macnite_fails $c"; done && if [ -n "$macnite_fails" ]; then echo; echo "Could not install:$macnite_fails"; echo "(They may already be installed manually — move them to the Trash, then re-run.)"; fi && { macnite_elapsed=$((SECONDS - macnite_start)); macnite_fail_count=$(echo "$macnite_fails" | wc -w | tr -d " "); macnite_ok=$((1 - macnite_fail_count)); echo; echo "All done — $macnite_ok apps installed in $((macnite_elapsed / 60))m $((macnite_elapsed % 60))s. You saved ~$((macnite_ok * 10)) clicks."; } && { curl -fsSL https://macnite.seanblowers.app/install-banner.txt 2>/dev/null || true; }</pre>
<button type="button" class="cmd-copy" id="install-copy">Copy command</button>
</div>
<p class="how-foot">
Paste it into Terminal (press <kbd>⌘</kbd>+<kbd>Space</kbd>, type
<em>Terminal</em>, hit Enter) and press Enter. The Macnite ASCII
banner prints at the end so you know it's done.
</p>
</section>
<section>
<h2>What you get</h2>
<ul class="feature-list">
<li>
<strong>14,000+ apps and CLI tools</strong>
<p>Anything Homebrew can install, installable from one screen. Tick what you want, get one command.</p>
</li>
<li>
<strong>Curated presets</strong>
<p>Ready-made bundles for new Macs, developers, creatives, and students — one click, one command.</p>
</li>
<li>
<strong>1,000+ fonts</strong>
<p>JetBrains Mono, Inter, Fira Code, and the rest of the Homebrew font tap — same one-command flow.</p>
</li>
<li>
<strong>Resilient install</strong>
<p>Installs Homebrew if missing. Each app is installed individually, so one failure doesn't abort the rest — failures are reported at the end.</p>
</li>
<li>
<strong>Done report</strong>
<p>When the run finishes you get a summary: how many apps installed, how long it took, and how many manual clicks you skipped.</p>
</li>
<li>
<strong>Share links</strong>
<p>Any selection can be turned into a share URL so teammates land on the same picks pre-ticked.</p>
</li>
<li>
<strong>Free and open source</strong>
<p>Pure static site, no accounts, no tracking. Source on GitHub.</p>
</li>
</ul>
</section>
<footer class="site-footer">
<p>
Made by <a href="https://seanblowers.me/2026/05/14/macnite-a-ninite-for-mac-built-in-a-static-html-file/" target="_blank" rel="noopener">Sean Blowers</a>.
Open source on <a href="https://github.com/seanblowers/Macnite" target="_blank" rel="noopener">GitHub</a>.
</p>
<p class="licence">
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
</p>
<p class="licence">
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
<a href="https://github.com/seanblowers/Macnite?tab=AGPL-3.0-1-ov-file" target="_blank" rel="noopener">GNU Affero General Public License</a>
for more details.
</p>
</footer>
</main>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js').catch(() => {});
}
(function () {
const btn = document.getElementById('install-copy');
const pre = document.getElementById('install-cmd');
if (!btn || !pre) return;
btn.addEventListener('click', async () => {
try {
await navigator.clipboard.writeText(pre.textContent);
btn.textContent = 'Copied!';
} catch {
btn.textContent = 'Copy failed';
}
setTimeout(() => { btn.textContent = 'Copy command'; }, 1500);
});
})();
</script>
</body>
</html>