Skip to content

Commit 2e29f8a

Browse files
committed
docs(www): add --locked to cargo install, add $ prompts
1 parent 993161e commit 2e29f8a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

www/serve.nu

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ def install-section [] {
207207
(
208208
DIV {class: [flex items-center justify-between py-4 px-5 rounded-b-lg bg-dark]}
209209
(DIV {}
210-
(install-content "brew" "brew install cablehead/tap/http-nu")
211-
(install-content "cargo" "cargo install http-nu")
212-
(install-content "eget" "eget cablehead/http-nu")
213-
(install-content "nix" "nix-shell -p http-nu")
210+
(install-content "brew" "$ brew install cablehead/tap/http-nu")
211+
(install-content "cargo" "$ cargo install --locked http-nu")
212+
(install-content "eget" "$ eget cablehead/http-nu")
213+
(install-content "nix" "$ nix-shell -p http-nu")
214214
)
215215
(
216216
BUTTON {
@@ -219,7 +219,7 @@ def install-section [] {
219219
"data-on:click": r#'
220220
const c = {
221221
brew: 'brew install cablehead/tap/http-nu',
222-
cargo: 'cargo install http-nu',
222+
cargo: 'cargo install --locked http-nu',
223223
eget: 'eget cablehead/http-nu',
224224
nix: 'nix-shell -p http-nu'
225225
};

0 commit comments

Comments
 (0)