Update installation.md

This commit is contained in:
apt105 2021-05-15 19:40:24 +01:00
parent 7b6deb0473
commit 8535548f58

View file

@ -22,99 +22,97 @@ Installation is easily done through the [Python package installer pip](https://p
]}> ]}>
<TabItem value="linux"> <TabItem value="linux">
- Check that your computer has the required serial drivers installed - Check that your computer has the required serial drivers installed
* Connect your Meshtastic device to your USB port * Connect your Meshtastic device to your USB port
* Use the command * Use the command
```bash
lsusb
```
* You should see something like `CP210X USB to UART Bridge Controller`
* If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers).
- Check that your computer has Python 3 installed.
* Use the command
```bash
python3 -V
```
* If this does not return a version, install [python](https://www.python.org)
- Pip is typically installed if you are using python 3 version >= 3.4
* Check that pip is installed using this command
```bash
pip3 -V
```
* If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/)
- Install pytap2
```bash ```bash
lsusb sudo pip3 install --upgrade pytap2
``` ```
* You should see something like `CP210X USB to UART Bridge Controller` - Install meshtastic:
* If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers).
- Check that your computer has Python 3 installed.
* Use the command
```bash ```bash
python3 -V sudo pip3 install --upgrade meshtastic
``` ```
* If this does not return a version, install [python](https://www.python.org)
- Pip is typically installed if you are using python 3 version >= 3.4
* Check that pip is installed using this command
```bash
pip3 -V
```
* If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/)
- Install pytap2
```bash
sudo pip3 install --upgrade pytap2
```
- Install meshtastic:
```bash
sudo pip3 install --upgrade meshtastic
```
</TabItem> </TabItem>
<TabItem value="macos"> <TabItem value="macos">
- Check that your computer has the required serial drivers installed - Check that your computer has the required serial drivers installed
* Connect your Meshtastic device to your USB port * Connect your Meshtastic device to your USB port
* Navigate to `Apple Menu  > About This Mac > System Report... > Hardware > USB` * Navigate to `Apple Menu  > About This Mac > System Report... > Hardware > USB`
* You should see something like `CP210X USB to UART Bridge Controller` * You should see something like `CP210X USB to UART Bridge Controller`
* If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers). * If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers).
- Check that your computer has Python 3 installed. - Check that your computer has Python 3 installed.
* Use the command * Use the command
```bash
python3 -V
```
* If this does not return a version, install [python](https://www.python.org)
* The following uses Homebrew to install `python3` which includes `pip3`.
* Check if you have Homebrew installed with the following command
```bash ```bash
brew -v python3 -V
``` ```
If it's not installed, follow the instructions on the [Homebrew website](https://brew.sh) before continuing. * If this does not return a version, install [python](https://www.python.org)
* Install Python3 * The following uses Homebrew to install `python3` which includes `pip3`.
* Check if you have Homebrew installed with the following command
```bash
brew -v
```
If it's not installed, follow the instructions on the [Homebrew website](https://brew.sh) before continuing.
* Install Python3
```bash
brew install python3
```
- Pip is typically installed if you are using python 3 version >= 3.4
* Check that pip is installed using this command
```bash ```bash
brew install python3 pip3 -V
``` ```
- Pip is typically installed if you are using python 3 version >= 3.4 * If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/)
* Check that pip is installed using this command - Install pytap2
```bash ```bash
pip3 -V sudo pip3 install --upgrade pytap2
```
- Install meshtastic:
```bash
sudo pip3 install --upgrade meshtastic
``` ```
* If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/)
- Install pytap2
```bash
sudo pip3 install --upgrade pytap2
```
- Install meshtastic:
```bash
sudo pip3 install --upgrade meshtastic
```
</TabItem> </TabItem>
<TabItem value="windows"> <TabItem value="windows">
## Windows - Check that your computer has the required serial drivers installed
* Connect your Meshtastic device to your USB port
- Check that your computer has the required serial drivers installed * Open Device Manager
* Connect your Meshtastic device to your USB port * Under `Ports (COM & LPT)` you should see something like `Silicon Labs CP210X USB to UART Bridge (COM5)`
* Open Device Manager * If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers).
* Under `Ports (COM & LPT)` you should see something like `Silicon Labs CP210X USB to UART Bridge (COM5)` - Check that your computer has Python 3 installed.
* If not download the drivers from [Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers). * Use the command
- Check that your computer has Python 3 installed. ```powershell
* Use the command py -V
```
* If this does not return a version, install [python](https://www.python.org)
- Pip is typically installed if you are using python 3 version >= 3.4
* Check that pip is installed using this command
```powershell
pip3 -V
```
* If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/)
- Install pytap2
```powershell ```powershell
py -V pip3 install --upgrade pytap2
``` ```
* If this does not return a version, install [python](https://www.python.org) - Install meshtastic:
- Pip is typically installed if you are using python 3 version >= 3.4
* Check that pip is installed using this command
```powershell ```powershell
pip3 -V pip3 install --upgrade meshtastic
``` ```
* If this does not return a version, install [pip](https://pip.pypa.io/en/stable/installing/)
- Install pytap2
```powershell
pip3 install --upgrade pytap2
```
- Install meshtastic:
```powershell
pip3 install --upgrade meshtastic
```
</TabItem> </TabItem>
</Tabs> </Tabs>