Remove shell prompts.
parent
b64b4fc75a
commit
e07232b146
|
@ -14,26 +14,26 @@ Install Go 1.21 (or whatever the most recently released Go version is) from http
|
||||||
|
|
||||||
Run:
|
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.
|
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:
|
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)
|
### 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:
|
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`.
|
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)
|
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 up # (any optional arguments)
|
||||||
$ tailscale status
|
tailscale status
|
||||||
````
|
````
|
||||||
|
|
||||||
Enjoy.
|
Enjoy.
|
||||||
|
|
Loading…
Reference in New Issue