Skip to content

Commit cdf328b

Browse files
update naptha sdk install instructions
1 parent e55c3ae commit cdf328b

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

docs/GettingStarted/create-a-new-user.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,37 +39,37 @@ poetry --version
3939
```
4040
</details>
4141

42-
Create a new poetry virtual environment:
42+
If you don't already have a poetry virtual environment, create a new one:
43+
44+
If you don't already have a poetry virtual environment, create a new one:
4345

4446
```bash
45-
poetry new test-env
46-
source .venv/bin/activate
47-
pip install naptha-sdk
47+
poetry init --python ">=3.10,<3.13"
4848
```
4949

50-
You can also use in-built Python virtual environments:
50+
Then install the SDK:
5151

5252
```bash
53-
python -m venv test-env
54-
source test-env/bin/activate
53+
poetry add naptha-sdk
54+
source .venv/bin/activate
5555
```
5656

57-
### Install the SDK
58-
59-
You can install the Naptha SDK using:
57+
Alternatively, you can use in-built Python virtual environments:
6058

6159
```bash
60+
python -m venv .venv
61+
source .venv/bin/activate
6262
pip install naptha-sdk
6363
```
6464

65-
6665
## 2. Creating Your Account
6766

6867
You have two methods to choose from:
6968

7069
### Method 1: Interactive Signup (Recommended)
7170

7271
The simplest way to create a new account is through the interactive CLI. Run the following command:
72+
7373
```bash
7474
naptha signup
7575
```
@@ -86,6 +86,7 @@ Your credentials have been updated in the .env file. You can now use these crede
8686
```
8787

8888
### Method 2: Pre-configured Setup
89+
8990
If you prefer setting credentials beforehand:
9091

9192
1. Edit your `.env` file with your desired credentials:

0 commit comments

Comments
 (0)