dacker

نصب Node.js در ایران

نسخه‌های LTS از Node.js با npm، از مخزن NodeSource. از مخزن داخلی dacker، بدون خطای ۴۰۳؛ توزیع و نسخه را انتخاب کنید و دستور کامل را کپی کنید.

دستور نصب

توزیع سرور
نسخه

مرورگر شما انتخاب بدون JavaScript را پشتیبانی نمی‌کند؛ دستورهای همهٔ ترکیب‌ها زیر هم آمده‌اند.

Node.js 2424.21.0

  • Ubuntu 24.04
  • 37.5 MB
  • امضا و بررسی‌شده
bash · Ubuntu 24.04
  1. ۱کلید امضای dacker
    # 1) Add the dacker signing keysudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-nodejs-24.sources -o /etc/apt/sources.list.d/dacker-nodejs-24.sources
  3. ۳نصب
    # 3) Installsudo apt updatesudo apt install nodejs
  4. ۴بررسی نصب
    # 4) Check the installationnode --versionnpm --version
به‌جای فایل .sources، یک خط .list می‌خواهید؟
  1. جایگزین مرحلهٔ ۲
    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/dacker.gpg] https://repo.dacker.ir/apt/nodejs-24 noble main" | sudo tee /etc/apt/sources.list.d/dacker-nodejs-24.list

Node.js 2424.21.0

  • Ubuntu 22.04
  • 37.5 MB
  • امضا و بررسی‌شده
bash · Ubuntu 22.04
  1. ۱کلید امضای dacker
    # 1) Add the dacker signing keysudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-nodejs-24.list -o /etc/apt/sources.list.d/dacker-nodejs-24.list
  3. ۳نصب
    # 3) Installsudo apt updatesudo apt install nodejs
  4. ۴بررسی نصب
    # 4) Check the installationnode --versionnpm --version

Node.js 2424.21.0

  • AlmaLinux / Rocky / RHEL 9
  • 45.7 MB
  • امضا و بررسی‌شده
bash · EL 9
  1. ۱کلید امضای سازنده
    # 1) Import the vendor signing keysudo rpm --import https://repo.dacker.ir/el/keys/nodesource.asc
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/el/repos/dacker-nodejs-24.repo -o /etc/yum.repos.d/dacker-nodejs-24.repo
  3. ۳نصب
    # 3) Installsudo dnf install nodejs
  4. ۴بررسی نصب
    # 4) Check the installationnode --versionnpm --version

Node.js 2424.21.0

  • AlmaLinux / Rocky / RHEL 8
  • 45.7 MB
  • امضا و بررسی‌شده
bash · EL 8
  1. ۱کلید امضای سازنده
    # 1) Import the vendor signing keysudo rpm --import https://repo.dacker.ir/el/keys/nodesource.asc
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/el/repos/dacker-nodejs-24.repo -o /etc/yum.repos.d/dacker-nodejs-24.repo
  3. ۳نصب
    # 3) Installsudo dnf install nodejs
  4. ۴بررسی نصب
    # 4) Check the installationnode --versionnpm --version

Node.js 24

  • CentOS 7
Node.js 24 برای CentOS 7 در دسترس نیست.
  • nodejs به glibc 2.28 یا بالاتر نیاز دارد، اما glibc این توزیع 2.17 است.

برای این توزیع‌ها هست: Ubuntu 24.04، Ubuntu 22.04، AlmaLinux / Rocky / RHEL 9، AlmaLinux / Rocky / RHEL 8

Node.js 2222.23.3

  • Ubuntu 24.04
  • 36.0 MB
  • امضا و بررسی‌شده
bash · Ubuntu 24.04
  1. ۱کلید امضای dacker
    # 1) Add the dacker signing keysudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-nodejs-22.sources -o /etc/apt/sources.list.d/dacker-nodejs-22.sources
  3. ۳نصب
    # 3) Installsudo apt updatesudo apt install nodejs
  4. ۴بررسی نصب
    # 4) Check the installationnode --versionnpm --version
به‌جای فایل .sources، یک خط .list می‌خواهید؟
  1. جایگزین مرحلهٔ ۲
    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/dacker.gpg] https://repo.dacker.ir/apt/nodejs-22 noble main" | sudo tee /etc/apt/sources.list.d/dacker-nodejs-22.list

Node.js 2222.23.3

  • Ubuntu 22.04
  • 36.0 MB
  • امضا و بررسی‌شده
bash · Ubuntu 22.04
  1. ۱کلید امضای dacker
    # 1) Add the dacker signing keysudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-nodejs-22.list -o /etc/apt/sources.list.d/dacker-nodejs-22.list
  3. ۳نصب
    # 3) Installsudo apt updatesudo apt install nodejs
  4. ۴بررسی نصب
    # 4) Check the installationnode --versionnpm --version

Node.js 2222.23.3

  • AlmaLinux / Rocky / RHEL 9
  • 44.7 MB
  • امضا و بررسی‌شده
bash · EL 9
  1. ۱کلید امضای سازنده
    # 1) Import the vendor signing keysudo rpm --import https://repo.dacker.ir/el/keys/nodesource.asc
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/el/repos/dacker-nodejs-22.repo -o /etc/yum.repos.d/dacker-nodejs-22.repo
  3. ۳نصب
    # 3) Installsudo dnf install nodejs
  4. ۴بررسی نصب
    # 4) Check the installationnode --versionnpm --version

Node.js 2222.23.3

  • AlmaLinux / Rocky / RHEL 8
  • 44.7 MB
  • امضا و بررسی‌شده
bash · EL 8
  1. ۱کلید امضای سازنده
    # 1) Import the vendor signing keysudo rpm --import https://repo.dacker.ir/el/keys/nodesource.asc
  2. ۲افزودن مخزن
    # 2) Add the repositorysudo curl -fsSL https://repo.dacker.ir/el/repos/dacker-nodejs-22.repo -o /etc/yum.repos.d/dacker-nodejs-22.repo
  3. ۳نصب
    # 3) Installsudo dnf install nodejs
  4. ۴بررسی نصب
    # 4) Check the installationnode --versionnpm --version

Node.js 22

  • CentOS 7
Node.js 22 برای CentOS 7 در دسترس نیست.
  • nodejs به glibc 2.28 یا بالاتر نیاز دارد، اما glibc این توزیع 2.17 است.

برای این توزیع‌ها هست: Ubuntu 24.04، Ubuntu 22.04، AlmaLinux / Rocky / RHEL 9، AlmaLinux / Rocky / RHEL 8

نسخه‌ها روی هر توزیع

نسخه Ubuntu 24.04Ubuntu 22.04EL 9EL 8CentOS 7
24 24.21.037.5 MB 24.21.037.5 MB 24.21.045.7 MB 24.21.045.7 MB N/A
22 22.23.336.0 MB 22.23.336.0 MB 22.23.344.7 MB 22.23.344.7 MB N/A

N/A: سازنده این نسخه را برای آن توزیع منتشر نمی‌کند یا ساخته نمی‌شود (دلیلش در بخش دستور نصب آمده). «—»: این محصول برای آن خانوادهٔ توزیع ارائه نمی‌شود.

پیش از نصب

روی EL 8 اگر dnf بسته را به‌خاطر ماژول‌های AppStream فیلتر کرد، این پرسش را ببینید.

راهنمای نصب Node.js برای هر توزیع

هر صفحه دستور کامل، نسخهٔ دقیق بسته‌ها و خطاهای رایج همان توزیع را دارد.

محصولات مرتبط

فهرست کامل بسته‌ها

همهٔ بسته‌هایی که هر مخزن برای هر توزیع دارد، از manifest مخزن.

nodejs-24 · Ubuntu 24.04 · 37.5 MB · ۱ بسته
بستهنسخه
nodejs24.21.0-1nodesource1
nodejs-24 · Ubuntu 22.04 · 37.5 MB · ۱ بسته
بستهنسخه
nodejs24.21.0-1nodesource1
nodejs-24 · AlmaLinux / Rocky / RHEL 9 · 45.7 MB · ۱ بسته
بستهنسخه
nodejs2:24.21.0-1nodesource
nodejs-24 · AlmaLinux / Rocky / RHEL 8 · 45.7 MB · ۱ بسته
بستهنسخه
nodejs2:24.21.0-1nodesource
nodejs-22 · Ubuntu 24.04 · 36.0 MB · ۱ بسته
بستهنسخه
nodejs22.23.3-1nodesource1
nodejs-22 · Ubuntu 22.04 · 36.0 MB · ۱ بسته
بستهنسخه
nodejs22.23.3-1nodesource1
nodejs-22 · AlmaLinux / Rocky / RHEL 9 · 44.7 MB · ۱ بسته
بستهنسخه
nodejs2:22.23.3-1nodesource
nodejs-22 · AlmaLinux / Rocky / RHEL 8 · 44.7 MB · ۱ بسته
بستهنسخه
nodejs2:22.23.3-1nodesource