Skip to content

Commit 55c1732

Browse files
authored
Merge pull request #2647 from olehermanse/module_dev
Rewrote sentences about pip commands
2 parents 5d1d6e6 + e9df362 commit 55c1732

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

guide/getting-started-with-cfengine-build/installation.markdown

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,17 @@ The python version must be at least 3.6, and it's important that the pip output
9191
In this tutorial series, we will be using 2 command line tools: `cf-remote` and `cfbs`.
9292
These are small python tools and don't make changes to your system, they are only for working with CFEngine projects, modules, and installing / deploying to remote machines.
9393

94-
**On macOS:**
94+
Depending on your operating system and how you installed python, you may be able to install python tools without `sudo`.
95+
This is common on **macOS**:
9596

9697
```
97-
pip3 install cfbs cf-remote
98+
$ pip3 install cfbs cf-remote
9899
```
99100

100-
**On Linux / WSL:**
101+
However, on other systems, notably popular **Linux** distributions, it is common to require root privileges (or extra configuration) to install python packages:
101102

102103
```
103-
sudo pip3 install cfbs cf-remote
104+
$ sudo pip3 install cfbs cf-remote
104105
```
105106

106107
There are many ways to install command line tools with pip, if you want to do it without sudo, and install it in your home directory, and edit the PATH variable, or if you want to use virtual environments, you can.

0 commit comments

Comments
 (0)