File tree 3 files changed +18
-50
lines changed
3 files changed +18
-50
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,11 @@ This guide will help you set up MyCoder on Linux.
16
16
17
17
NVM is the preferred way to install Node.js as it allows for easy version management and avoids permission issues:
18
18
19
- ``` bash
20
- # Install NVM
21
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
19
+ Visit the [ NVM GitHub repository] ( https://github.com/nvm-sh/nvm ) and follow the official installation instructions.
22
20
23
- # Reload shell configuration
24
- source ~ /.bashrc # or source ~/.zshrc
21
+ After installing NVM:
25
22
23
+ ``` bash
26
24
# Install latest LTS version of Node.js
27
25
nvm install --lts
28
26
@@ -54,31 +52,9 @@ This guide will help you set up MyCoder on Linux.
54
52
55
53
3 . ** GitHub CLI** : Command-line tool for interacting with GitHub
56
54
57
- ** Ubuntu/Debian:**
58
- ``` bash
59
- # Add GitHub CLI repository
60
- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
61
- echo " deb [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
62
-
63
- # Update package lists and install
64
- sudo apt update
65
- sudo apt install gh
66
- ```
67
-
68
- ** Fedora/RHEL:**
69
- ``` bash
70
- # Install from DNF repository
71
- sudo dnf install ' dnf-command(config-manager)'
72
- sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
73
- sudo dnf install gh
74
- ```
75
-
76
- ** Arch Linux:**
77
- ``` bash
78
- sudo pacman -S github-cli
79
- ```
55
+ Visit the [ GitHub CLI website] ( https://cli.github.com/ ) and follow the installation instructions for your Linux distribution.
80
56
81
- ** Verify installation and authenticate:**
57
+ ** After installation, verify and authenticate:**
82
58
``` bash
83
59
# Verify installation
84
60
gh --version
Original file line number Diff line number Diff line change @@ -12,14 +12,11 @@ This guide will help you set up MyCoder on macOS.
12
12
13
13
Homebrew makes it easy to install and manage development tools on macOS. Installing it first will simplify the rest of the setup process.
14
14
15
- ``` bash
16
- # Install Homebrew
17
- /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) "
15
+ Visit [ brew.sh] ( https://brew.sh/ ) and follow the official installation instructions.
18
16
19
- # Make sure Homebrew is in your PATH
20
- echo ' eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~ /.zprofile
21
- eval " $( /opt/homebrew/bin/brew shellenv) "
17
+ After installation, verify that Homebrew is working:
22
18
19
+ ``` bash
23
20
# Verify installation
24
21
brew --version
25
22
```
@@ -35,18 +32,13 @@ This guide will help you set up MyCoder on macOS.
35
32
``` bash
36
33
# Install NVM using Homebrew
37
34
brew install nvm
35
+ ```
38
36
39
- # Create NVM directory
40
- mkdir ~ /.nvm
41
-
42
- # Add NVM configuration to your shell profile
43
- echo ' export NVM_DIR="$HOME/.nvm"' >> ~ /.zshrc
44
- echo ' [ -s "$(brew --prefix)/opt/nvm/nvm.sh" ] && \. "$(brew --prefix)/opt/nvm/nvm.sh"' >> ~ /.zshrc
45
- echo ' [ -s "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm"' >> ~ /.zshrc
37
+ Follow the shell setup instructions provided by the NVM Homebrew installation output.
46
38
47
- # Reload shell configuration
48
- source ~ /.zshrc
39
+ After completing the shell setup:
49
40
41
+ ``` bash
50
42
# Install latest LTS version of Node.js
51
43
nvm install --lts
52
44
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ This guide will help you set up MyCoder on Windows.
14
14
15
15
** Recommended: Using NVM for Windows (Node Version Manager)**
16
16
17
- NVM for Windows is the preferred way to install Node.js as it allows for easy version management:
17
+ NVM for Windows is the preferred way to install Node.js as it allows for easy version management.
18
18
19
- ```
20
- # Download and install NVM for Windows
21
- # Visit: https://github.com/coreybutler/nvm-windows/releases
22
- # Download the nvm-setup.exe file from the latest release
19
+ Visit [ NVM for Windows releases] ( https://github.com/coreybutler/nvm-windows/releases ) and download the latest nvm-setup.exe file.
20
+
21
+ After installation:
23
22
24
- # After installation, open a new Command Prompt and install Node.js
23
+ ```
24
+ # Open a new Command Prompt and install Node.js
25
25
nvm install lts
26
26
27
27
# Set it as default
You can’t perform that action at this time.
0 commit comments