@xaidenlabs/uso 1.0.2 β†’ 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +72 -53
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,97 +1,116 @@
1
- # πŸ¦€ USO β˜€οΈ
2
- ### The **Magic Button** for Solana! ✨
1
+ # Universal Solana Orchestrator (USO)
3
2
 
4
- Do you want to build cool blockchain apps on Solana?
5
- Usually, installing all the tools is super hard and boring.
6
- **USO does it all for you with just ONE CLICK!**
3
+ The Universal Solana Orchestrator (USO) is a command-line interface designed to streamline the initialization and management of Solana development environments. By automating the installation of the Rust toolchain, Solana CLI, and Anchor framework, USO eliminates the complexity often associated with setting up a Web3 development workspace on Windows, macOS, and Linux.
4
+
5
+ This tool is engineered to support developers at all levelsβ€”from beginners setting up their first environment to senior engineers managing multiple workstations.
7
6
 
8
7
  ---
9
8
 
10
- ## πŸš€ Step 1: Get USO
11
- First, let's put USO on your computer.Open your **Terminal** (or Command Prompt) and type this magic spell:
9
+ ## Installation
10
+
11
+ Install USO globally using NPM. This ensures the CLI is accessible from any terminal directory.
12
12
 
13
13
  ```bash
14
14
  npm install -g @xaidenlabs/uso
15
15
  ```
16
- *(If that doesn't work, ensure you have Node.js installed!)*
16
+
17
+ **Prerequisites:**
18
+ - **Node.js**: Ensure Node.js is installed on your system.
19
+ - **Administrator Privileges**: Some installation steps (successfully creating symlinks, updating system PATH) may require elevated permissions.
17
20
 
18
21
  ---
19
22
 
20
- ## 🩺 Step 2: Check Your Computer
21
- Is your computer ready? Ask the Doctor!
23
+ ## Usage
24
+
25
+ ### System Diagnostics
26
+
27
+ Before attempting installation, you can run a diagnostic check to evaluate the current state of your environment.
28
+
22
29
  ```bash
23
30
  uso doctor
24
31
  ```
25
- It will check everything for you.
26
- - βœ… means GOOD!
27
- - ❌ means MISSING (Don't worry, USO will fix it!)
32
+
33
+ This command will inspect your system for existing installations of Git, Rust, Solana CLI, and Anchor.
28
34
 
29
35
  ---
30
36
 
31
- ## ✨ Step 3: Install Everything!
32
- This is the best part. To install **Rust**, **Solana**, and **Anchor** all at once, just type:
37
+ ### Full Environment Setup
38
+
39
+ To perform a complete installation of the entire stack (Rust, Solana, Anchor), use the initialization command:
40
+
33
41
  ```bash
34
42
  uso init
35
43
  ```
36
- - It will download everything.
37
- - It might ask for permission (click **Yes**!).
38
- - **IMPORTANT**: When it's done, close your terminal and open it again!
44
+
45
+ The installer will:
46
+ 1. Detect your operating system.
47
+ 2. Check for necessary build tools (C++ Build Tools on Windows).
48
+ 3. Download and install the Rust toolchain (via `rustup`).
49
+ 4. Install the Solana CLI (Agave release).
50
+ 5. Build and install the Anchor Version Manager (AVM) and Anchor Framework.
51
+ 6. Generate a new Solana wallet if one is not detected.
52
+
53
+ **Note:** You may be prompted to approve administrative access during the installation of specific components.
39
54
 
40
55
  ---
41
56
 
42
- ## 🎯 Step 4: Install Just One Thing (Optional)
43
- Maybe you only want one toy? You can do that too!
57
+ ### Granular Installation
44
58
 
45
- - **Want just Rust?** πŸ¦€
46
- ```bash
47
- uso install rust
48
- ```
59
+ Use the `install` command to set up individual components if you do not require the full stack.
49
60
 
50
- - **Want just Solana?** β˜€οΈ
51
- ```bash
52
- uso install solana
53
- ```
61
+ **Install Rust:**
62
+ ```bash
63
+ uso install rust
64
+ ```
54
65
 
55
- - **Want just Anchor?** βš“
56
- ```bash
57
- uso install anchor
58
- ```
66
+ **Install Solana CLI:**
67
+ ```bash
68
+ uso install solana
69
+ ```
70
+
71
+ **Install Anchor Framework:**
72
+ ```bash
73
+ uso install anchor
74
+ ```
59
75
 
60
76
  ---
61
77
 
62
- ## βœ… Step 5: Test It!
63
- Let's make sure everything works perfectly.
78
+ ### Verification
79
+
80
+ After installation, verify that all components are correctly configured and accessible in your system PATH.
81
+
64
82
  ```bash
65
83
  uso verify
66
84
  ```
67
- If this says "Success", you are ready to build the future! πŸš€
85
+
86
+ This process will validate the version of each tool and ensure the environment is ready for development.
68
87
 
69
88
  ---
70
89
 
71
- ## πŸ—‘οΈ Step 6: Removing It (Uninstall)
72
- If you don't want these tools anymore, USO can clean up for you.
90
+ ## Uninstallation
73
91
 
74
- - **Remove Everything:**
75
- ```bash
76
- uso uninstall
77
- ```
78
- *(Be careful! It might ask to delete your wallet with your crypto keys!)*
92
+ USO provides a clean uninstallation process to remove the installed toolchains.
79
93
 
80
- - **Remove Just One Thing:**
81
- ```bash
82
- uso uninstall solana
83
- ```
94
+ **Remove All Components:**
95
+ ```bash
96
+ uso uninstall
97
+ ```
84
98
 
85
- ---
99
+ **Remove Individual Components:**
100
+ ```bash
101
+ uso uninstall solana
102
+ uso uninstall rust
103
+ uso uninstall anchor
104
+ ```
86
105
 
87
- ## ❓ Help! It's not working!
106
+ ---
88
107
 
89
- **"Permission Denied" or "Error"?**
90
- - Try running your terminal as **Administrator** (Right-click -> Run as Administrator).
108
+ ## Troubleshooting
91
109
 
92
- **"Command not found"?**
93
- - Did you close and reopen your terminal after installing? Do that now!
110
+ - **"Permission Denied" Errors**: If you encounter errors related to permissions or symlinks, try running your terminal as an Administrator.
111
+ - **"Command Not Found"**: After installation, your system PATH is updated. You must restart your terminal (close and reopen) for these changes to take effect.
112
+ - **Windows Build Tools**: If Rust fails to install on Windows, ensure you have the "Desktop development with C++" workload installed via Visual Studio Build Tools.
94
113
 
95
114
  ---
96
115
 
97
- **Made with ❀️ for You.**# cli-
116
+ **Developed by Xaiden Labs**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaidenlabs/uso",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Universal Solana Orchestrator - A one-command setup tool for Solana and Anchor development environments on Windows, macOS, and Linux.",
5
5
  "bin": {
6
6
  "uso": "bin/index.js"