Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create nodejs.md #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions v2/docs-tr/php/guides/nodejs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
id: nodejs
title: PHP Siteleri için Node.js
sidebar_label: Node.js
---

import useBaseUrl from '@docusaurus/useBaseUrl';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Bu sayfada, siteniz için [nvm (Node Version Manager)](https://github.com/nvm-sh/nvm) kullanarak [Node.js](https://nodejs.org/en/) kurulum rehberini bulabilirsiniz.

1. **Site Kullanıcısı** ile [SSH](../../../frontend-area/ssh-ftp/#ssh-login) üzerinden giriş yapın:

```bash
ssh john-doe@server-ip-address
```

2. Aşağıdaki komut ile [nvm](https://github.com/nvm-sh/nvm) kurun:

```bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
```

3. Mevcut kabuk ortamını güncelleyin:

```bash
source ~/.bashrc
```

4. Gerekli **Node.js** sürümünü yükleyin, örneğin **22**:

```bash
nvm install 22
```

5. Kurulan **Node.js** sürümünü etkinleştirin:

```bash
nvm use 22
```

6. İşte bu kadar! **Node.js** sürümünü kontrol edin:

```bash
node -v
```