Skip to content

Commit cfe91ee

Browse files
committed
Add instruction about adding utmctl to PATH
1 parent 1f0fc84 commit cfe91ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripting/scripting.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@ It is recommended you "install" this by creating a symbolic link to your `bin` d
3333
$ sudo ln -sf /Applications/UTM.app/Contents/MacOS/utmctl /usr/local/bin/utmctl
3434
```
3535

36+
If you installed UTM to another directory, the symbolic link will not work properly. Instead, you need to add the directory containing `utmctl` to your PATH variable:
37+
38+
```
39+
$ echo "/path/to/UTM.app/Contents/MacOS" | sudo tee /etc/paths.d/10-utm
40+
```
41+
3642
Run the tool without any arguments to see the help documentation and a list of available commands.

0 commit comments

Comments
 (0)