-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
2 changed files
with
134 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
# Difference between MacOS installation instructions and Windows or Linux instructions | ||
|
||
## Windows | ||
|
||
Here are the differences between the original **macOS instructions** and the modified **Windows-specific instructions**: | ||
|
||
1. **Terminal Type and Command Differences**: | ||
- **macOS**: Uses `Terminal` and general `bash` commands. | ||
- **Windows**: Uses **Command Prompt** or **PowerShell** instead of `Terminal`. | ||
- The command lines for `npx` and directory navigation are modified to explicitly reference PowerShell. | ||
|
||
### Example | ||
- **macOS**: | ||
```bash | ||
npx create-spec-up-t my-spec-up-t-website | ||
``` | ||
- **Windows**: | ||
```powershell | ||
npx create-spec-up-t my-spec-up-t-website | ||
``` | ||
|
||
2. **Directory Navigation**: | ||
- **macOS**: General command `cd my-spec-up-t-website` is the same, but assumed to run in macOS Terminal. | ||
- **Windows**: Specified as using PowerShell or Command Prompt, with `cd` unchanged. | ||
|
||
### Example | ||
- **macOS and Windows**: | ||
```bash | ||
cd my-spec-up-t-website | ||
``` | ||
|
||
3. **Command Syntax for Install Dependencies**: | ||
- **macOS**: General usage of `npm` command with no specific shell mentioned. | ||
- **Windows**: Specifies running `npm` commands in PowerShell. | ||
|
||
### Example | ||
- **macOS**: | ||
```bash | ||
npm run install | ||
``` | ||
- **Windows**: | ||
```powershell | ||
npm run install | ||
``` | ||
|
||
4. **Environment Testing**: | ||
- **macOS**: Terminal and general `bash` or zsh commands are assumed. | ||
- **Windows**: Adds instructions to verify installation with PowerShell using `node -v`, `npm -v`, and `git --version` commands in PowerShell. | ||
|
||
## Linux | ||
|
||
Here are the differences between the original **macOS instructions** and the modified **Linux-specific instructions**: | ||
|
||
1. **Terminal Type and Command Differences**: | ||
- **macOS**: Uses `Terminal` with general `bash` commands. | ||
- **Linux**: Uses `Terminal` with `bash` commands, similar to macOS, but provides additional installation steps specific to Linux systems (e.g., using `apt-get` for installing Node.js and Git). | ||
|
||
### Example | ||
- **macOS**: | ||
```bash | ||
npx create-spec-up-t my-spec-up-t-website | ||
``` | ||
- **Linux**: | ||
```bash | ||
npx create-spec-up-t my-spec-up-t-website | ||
``` | ||
|
||
2. **Node.js and Git Installation**: | ||
- **macOS**: Assumes Node.js and Git are downloaded and installed via their respective installers. | ||
- **Linux**: Adds specific commands for installing Node.js and Git through the package manager (`apt-get` for Debian-based systems). | ||
|
||
### Example | ||
- **Linux**: | ||
```bash | ||
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - | ||
sudo apt-get install -y nodejs | ||
sudo apt-get install git | ||
``` | ||
|
||
3. **Environment Testing**: | ||
- **macOS**: Assumes installation verification with general `bash` commands. | ||
- **Linux**: Adds instructions for verifying installation in `bash` using `node -v`, `npm -v`, and `git --version`. | ||
|
||
### Example | ||
- **macOS and Linux**: | ||
```bash | ||
node -v | ||
npm -v | ||
git --version | ||
``` | ||
|
||
4. **Package Installation and Directory Navigation**: | ||
- **macOS**: Uses `Terminal` commands without additional setup. | ||
- **Linux**: Uses `Terminal` commands similarly, with no changes for directory navigation or `npm` commands, as Linux and macOS share similar shell environments. | ||
|
||
### Example | ||
- **macOS and Linux**: | ||
```bash | ||
cd my-spec-up-t-website | ||
npm run install | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters