From e07232b14653fb29c945efb0ec4578a530602564 Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Wed, 6 Dec 2023 10:17:00 -0800 Subject: [PATCH] Remove shell prompts. --- Tailscaled-on-macOS.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Tailscaled-on-macOS.md b/Tailscaled-on-macOS.md index f6ed13f..2536c72 100644 --- a/Tailscaled-on-macOS.md +++ b/Tailscaled-on-macOS.md @@ -14,26 +14,26 @@ Install Go 1.21 (or whatever the most recently released Go version is) from http Run: ``` -$ go install tailscale.com/cmd/tailscale{,d}@main +go install tailscale.com/cmd/tailscale{,d}@main ``` That'll put the binaries in `$(go env GOPATH)/bin`, so likely `$HOME/go/bin`. You can copy or symlink those binaries into your `$PATH`, or make your `$PATH` include that directory. You can also compile from a specific release version. For example to build from the source code used for Tailscale 1.38.2, use: ``` -$ go install tailscale.com/cmd/tailscale{,d}@v1.38.2 +go install tailscale.com/cmd/tailscale{,d}@v1.38.2 ``` ### Run the `tailscaled` (daemon) ``` -$ sudo $HOME/go/bin/tailscaled +sudo $HOME/go/bin/tailscaled ``` Or, to run it in the background under launchd so it starts at system boot: ``` -$ sudo $HOME/go/bin/tailscaled install-system-daemon +sudo $HOME/go/bin/tailscaled install-system-daemon ``` That copies the binary to `/usr/local/bin` and installs a plist in `/Library/LaunchDaemons/com.tailscale.tailscaled.plist` and starts `com.tailscale.tailscaled`. @@ -45,8 +45,8 @@ That copies the binary to `/usr/local/bin` and installs a plist in `/Library/Lau See https://tailscale.com/kb/1080/cli (but ignore the `/Applications/Tailscale.app/Contents/MacOS/Tailscale` part; that's the path to the GUI's CLI) ``` -$ tailscale up # (any optional arguments) -$ tailscale status +tailscale up # (any optional arguments) +tailscale status ```` Enjoy.