[{"data":1,"prerenderedAt":1181},["ShallowReactive",2],{"doc:docs_en:\u002Fdocs\u002F01-chuan-bi-may":3,"doc-nav:docs_en":1164},{"id":4,"title":5,"body":6,"description":1157,"extension":1158,"meta":1159,"navigation":386,"path":1160,"seo":1161,"stem":1162,"__hash__":1163},"docs_en\u002Fdocs\u002F01-chuan-bi-may.md","1. Prepare your machine and install the Hexcore CLI",{"type":7,"value":8,"toc":1142},"minimark",[9,13,22,27,148,151,189,193,198,209,271,278,296,299,319,323,332,336,357,474,476,500,504,518,571,575,589,672,676,708,719,734,738,760,928,935,969,973,976,993,999,1026,1030,1033,1081,1109,1112,1138],[10,11,5],"h1",{"id":12},"_1-prepare-your-machine-and-install-the-hexcore-cli",[14,15,16,17,21],"p",{},"Order: Docker → Node.js (nvm) → build tools → Hexcore CLI → ",[18,19,20],"code",{},"hexcore doctor",".",[23,24,26],"h2",{"id":25},"_11-requirements","1.1 Requirements",[28,29,30,43],"table",{},[31,32,33],"thead",{},[34,35,36,40],"tr",{},[37,38,39],"th",{},"Item",[37,41,42],{},"Requirement",[44,45,46,55,63,75,86,105,113,140],"tbody",{},[34,47,48,52],{},[49,50,51],"td",{},"Operating system",[49,53,54],{},"macOS (Intel or Apple Silicon); Ubuntu 22.04\u002F24.04; Debian 12; Rocky Linux, AlmaLinux, CentOS Stream or RHEL 9",[34,56,57,60],{},[49,58,59],{},"Not supported",[49,61,62],{},"CentOS 7 \u002F RHEL 7: glibc too old for Node.js 22",[34,64,65,68],{},[49,66,67],{},"Windows",[49,69,70,71,74],{},"Not tested. ",[18,72,73],{},"hexcore service"," supports only Linux (systemd) and macOS (launchd)",[34,76,77,80],{},[49,78,79],{},"Docker",[49,81,82,83],{},"Docker Engine (Linux) or Docker Desktop (macOS), usable without ",[18,84,85],{},"sudo",[34,87,88,91],{},[49,89,90],{},"Node.js",[49,92,93,97,98,101,102],{},[94,95,96],"strong",{},"22 or later",", ",[94,99,100],{},"24 LTS"," recommended, installed with ",[94,103,104],{},"nvm",[34,106,107,110],{},[49,108,109],{},"RAM",[49,111,112],{},"Each hydra-node uses up to about 500 MB under load; cardano-node on the same machine needs far more",[34,114,115,118],{},[49,116,117],{},"Outbound network",[49,119,120,123,124,127,128,131,132,135,136,139],{},[18,121,122],{},"registry.npmjs.org"," (CLI), ",[18,125,126],{},"github.com"," (prebuilt ",[18,129,130],{},"better-sqlite3","), ",[18,133,134],{},"ghcr.io"," (hydra-node image), ",[18,137,138],{},"blockfrost.io"," if you use Blockfrost",[34,141,142,145],{},[49,143,144],{},"Clock",[49,146,147],{},"Enable time sync (NTP): Trust Center rejects requests off by more than 5 minutes",[14,149,150],{},"Check the clock on Linux:",[152,153,158],"pre",{"className":154,"code":155,"language":156,"meta":157,"style":157},"language-bash shiki shiki-themes github-light github-dark","timedatectl            # should show \"System clock synchronized: yes\"\nsudo timedatectl set-ntp true\n","bash","",[18,159,160,173],{"__ignoreMap":157},[161,162,165,169],"span",{"class":163,"line":164},"line",1,[161,166,168],{"class":167},"sScJk","timedatectl",[161,170,172],{"class":171},"sJ8bj","            # should show \"System clock synchronized: yes\"\n",[161,174,176,178,182,185],{"class":163,"line":175},2,[161,177,85],{"class":167},[161,179,181],{"class":180},"sZZnC"," timedatectl",[161,183,184],{"class":180}," set-ntp",[161,186,188],{"class":187},"sj4cs"," true\n",[23,190,192],{"id":191},"_12-install-docker","1.2 Install Docker",[194,195,197],"h3",{"id":196},"ubuntu-debian-rocky-almalinux-centos-stream","Ubuntu, Debian, Rocky, AlmaLinux, CentOS Stream",[14,199,200,201,208],{},"Use Docker's official script (or follow ",[202,203,207],"a",{"href":204,"rel":205},"https:\u002F\u002Fdocs.docker.com\u002Fengine\u002Finstall\u002F",[206],"nofollow","docs.docker.com\u002Fengine\u002Finstall","):",[152,210,212],{"className":154,"code":211,"language":156,"meta":157,"style":157},"curl -fsSL https:\u002F\u002Fget.docker.com | sh\nsudo systemctl enable --now docker        # on RHEL-family systems the script does not enable the service\nsudo usermod -aG docker $USER             # let the current user run Docker without sudo\n",[18,213,214,232,251],{"__ignoreMap":157},[161,215,216,219,222,225,229],{"class":163,"line":164},[161,217,218],{"class":167},"curl",[161,220,221],{"class":187}," -fsSL",[161,223,224],{"class":180}," https:\u002F\u002Fget.docker.com",[161,226,228],{"class":227},"szBVR"," |",[161,230,231],{"class":167}," sh\n",[161,233,234,236,239,242,245,248],{"class":163,"line":175},[161,235,85],{"class":167},[161,237,238],{"class":180}," systemctl",[161,240,241],{"class":180}," enable",[161,243,244],{"class":187}," --now",[161,246,247],{"class":180}," docker",[161,249,250],{"class":171},"        # on RHEL-family systems the script does not enable the service\n",[161,252,254,256,259,262,264,268],{"class":163,"line":253},3,[161,255,85],{"class":167},[161,257,258],{"class":180}," usermod",[161,260,261],{"class":187}," -aG",[161,263,247],{"class":180},[161,265,267],{"class":266},"sVt8B"," $USER             ",[161,269,270],{"class":171},"# let the current user run Docker without sudo\n",[14,272,273,274,277],{},"Log in again so the ",[18,275,276],{},"docker"," group takes effect, then check:",[152,279,281],{"className":154,"code":280,"language":156,"meta":157,"style":157},"docker run --rm hello-world\n",[18,282,283],{"__ignoreMap":157},[161,284,285,287,290,293],{"class":163,"line":164},[161,286,276],{"class":167},[161,288,289],{"class":180}," run",[161,291,292],{"class":187}," --rm",[161,294,295],{"class":180}," hello-world\n",[14,297,298],{},"Notes:",[300,301,302,309],"ul",{},[303,304,305,306,308],"li",{},"Members of the ",[18,307,276],{}," group have root-equivalent access. Add only the user that will run Hexcore.",[303,310,311,312,315,316,21],{},"On RHEL-family systems, remove ",[18,313,314],{},"podman-docker"," (if present) before installing Docker: Hexcore needs a real Docker daemon at ",[18,317,318],{},"\u002Fvar\u002Frun\u002Fdocker.sock",[194,320,322],{"id":321},"macos","macOS",[14,324,325,326,331],{},"Install ",[202,327,330],{"href":328,"rel":329},"https:\u002F\u002Fwww.docker.com\u002Fproducts\u002Fdocker-desktop\u002F",[206],"Docker Desktop"," and wait for \"Engine running\". Apple Silicon runs natively (hydra-node 2.4.x has an arm64 image).",[23,333,335],{"id":334},"_13-install-nodejs-with-nvm-recommended","1.3 Install Node.js with nvm (recommended)",[14,337,338,339,342,343,348,349,352,353,356],{},"nvm lets ",[18,340,341],{},"npm i -g"," run ",[94,344,345,346],{},"without ",[18,347,85],{},"; ",[18,350,351],{},"sudo npm i -g"," is a common cause of ",[18,354,355],{},"EACCES"," and node-gyp errors.",[152,358,360],{"className":154,"code":359,"language":156,"meta":157,"style":157},"# Install nvm (latest version at https:\u002F\u002Fgithub.com\u002Fnvm-sh\u002Fnvm)\ncurl -o- https:\u002F\u002Fraw.githubusercontent.com\u002Fnvm-sh\u002Fnvm\u002Fv0.40.3\u002Finstall.sh | bash\n\n# Load nvm into the current shell (or open a new terminal)\nexport NVM_DIR=\"$HOME\u002F.nvm\"\n. \"$NVM_DIR\u002Fnvm.sh\"\n\nnvm install 24\nnvm alias default 24      # new terminals also use Node 24\nnode -v                   # v24.x.x\n",[18,361,362,367,382,388,394,415,429,434,445,462],{"__ignoreMap":157},[161,363,364],{"class":163,"line":164},[161,365,366],{"class":171},"# Install nvm (latest version at https:\u002F\u002Fgithub.com\u002Fnvm-sh\u002Fnvm)\n",[161,368,369,371,374,377,379],{"class":163,"line":175},[161,370,218],{"class":167},[161,372,373],{"class":187}," -o-",[161,375,376],{"class":180}," https:\u002F\u002Fraw.githubusercontent.com\u002Fnvm-sh\u002Fnvm\u002Fv0.40.3\u002Finstall.sh",[161,378,228],{"class":227},[161,380,381],{"class":167}," bash\n",[161,383,384],{"class":163,"line":253},[161,385,387],{"emptyLinePlaceholder":386},true,"\n",[161,389,391],{"class":163,"line":390},4,[161,392,393],{"class":171},"# Load nvm into the current shell (or open a new terminal)\n",[161,395,397,400,403,406,409,412],{"class":163,"line":396},5,[161,398,399],{"class":227},"export",[161,401,402],{"class":266}," NVM_DIR",[161,404,405],{"class":227},"=",[161,407,408],{"class":180},"\"",[161,410,411],{"class":266},"$HOME",[161,413,414],{"class":180},"\u002F.nvm\"\n",[161,416,418,420,423,426],{"class":163,"line":417},6,[161,419,21],{"class":187},[161,421,422],{"class":180}," \"",[161,424,425],{"class":266},"$NVM_DIR",[161,427,428],{"class":180},"\u002Fnvm.sh\"\n",[161,430,432],{"class":163,"line":431},7,[161,433,387],{"emptyLinePlaceholder":386},[161,435,437,439,442],{"class":163,"line":436},8,[161,438,104],{"class":167},[161,440,441],{"class":180}," install",[161,443,444],{"class":187}," 24\n",[161,446,448,450,453,456,459],{"class":163,"line":447},9,[161,449,104],{"class":167},[161,451,452],{"class":180}," alias",[161,454,455],{"class":180}," default",[161,457,458],{"class":187}," 24",[161,460,461],{"class":171},"      # new terminals also use Node 24\n",[161,463,465,468,471],{"class":163,"line":464},10,[161,466,467],{"class":167},"node",[161,469,470],{"class":187}," -v",[161,472,473],{"class":171},"                   # v24.x.x\n",[14,475,298],{},[300,477,478,492],{},[303,479,480,481,484,485,488,489,491],{},"Do not run ",[18,482,483],{},"sudo hexcore …"," or ",[18,486,487],{},"sudo npm …",": ",[18,490,85],{}," cannot see nvm's Node.js.",[303,493,494,495,499],{},"Each Node.js version has its own global packages: after switching Node.js, reinstall Hexcore (",[202,496,498],{"href":497},"#17-change-the-nodejs-version","§1.7",").",[194,501,503],{"id":502},"without-nvm","Without nvm",[14,505,506,507,484,512,517],{},"Get Node.js 22\u002F24 from ",[202,508,511],{"href":509,"rel":510},"https:\u002F\u002Fgithub.com\u002Fnodesource\u002Fdistributions",[206],"NodeSource",[202,513,516],{"href":514,"rel":515},"https:\u002F\u002Fnodejs.org",[206],"nodejs.org",", not Ubuntu's default package (it ships only Node.js 18). Then point the npm prefix at a user directory:",[152,519,521],{"className":154,"code":520,"language":156,"meta":157,"style":157},"mkdir -p ~\u002F.npm-global\nnpm config set prefix ~\u002F.npm-global\necho 'export PATH=\"$HOME\u002F.npm-global\u002Fbin:$PATH\"' >> ~\u002F.bashrc\nsource ~\u002F.bashrc\n",[18,522,523,534,550,564],{"__ignoreMap":157},[161,524,525,528,531],{"class":163,"line":164},[161,526,527],{"class":167},"mkdir",[161,529,530],{"class":187}," -p",[161,532,533],{"class":180}," ~\u002F.npm-global\n",[161,535,536,539,542,545,548],{"class":163,"line":175},[161,537,538],{"class":167},"npm",[161,540,541],{"class":180}," config",[161,543,544],{"class":180}," set",[161,546,547],{"class":180}," prefix",[161,549,533],{"class":180},[161,551,552,555,558,561],{"class":163,"line":253},[161,553,554],{"class":187},"echo",[161,556,557],{"class":180}," 'export PATH=\"$HOME\u002F.npm-global\u002Fbin:$PATH\"'",[161,559,560],{"class":227}," >>",[161,562,563],{"class":180}," ~\u002F.bashrc\n",[161,565,566,569],{"class":163,"line":390},[161,567,568],{"class":187},"source",[161,570,563],{"class":180},[23,572,574],{"id":573},"_14-install-build-tools-to-guard-against-node-gyp-errors","1.4 Install build tools (to guard against node-gyp errors)",[14,576,577,578,580,581,584,585,588],{},"The native module ",[18,579,130],{}," usually has a prebuilt binary; when it does not (Node.js too new, unusual CPU, network blocks GitHub), npm compiles it with ",[94,582,583],{},"node-gyp",", which needs Python 3, ",[18,586,587],{},"make"," and a C++ compiler. Install them up front:",[152,590,592],{"className":154,"code":591,"language":156,"meta":157,"style":157},"# Ubuntu, Debian\nsudo apt-get update && sudo apt-get install -y build-essential python3\n\n# Rocky, AlmaLinux, CentOS Stream, RHEL\nsudo dnf install -y gcc-c++ make python3\n\n# macOS\nxcode-select --install\n",[18,593,594,599,627,631,636,655,659,664],{"__ignoreMap":157},[161,595,596],{"class":163,"line":164},[161,597,598],{"class":171},"# Ubuntu, Debian\n",[161,600,601,603,606,609,612,614,616,618,621,624],{"class":163,"line":175},[161,602,85],{"class":167},[161,604,605],{"class":180}," apt-get",[161,607,608],{"class":180}," update",[161,610,611],{"class":266}," && ",[161,613,85],{"class":167},[161,615,605],{"class":180},[161,617,441],{"class":180},[161,619,620],{"class":187}," -y",[161,622,623],{"class":180}," build-essential",[161,625,626],{"class":180}," python3\n",[161,628,629],{"class":163,"line":253},[161,630,387],{"emptyLinePlaceholder":386},[161,632,633],{"class":163,"line":390},[161,634,635],{"class":171},"# Rocky, AlmaLinux, CentOS Stream, RHEL\n",[161,637,638,640,643,645,647,650,653],{"class":163,"line":396},[161,639,85],{"class":167},[161,641,642],{"class":180}," dnf",[161,644,441],{"class":180},[161,646,620],{"class":187},[161,648,649],{"class":180}," gcc-c++",[161,651,652],{"class":180}," make",[161,654,626],{"class":180},[161,656,657],{"class":163,"line":417},[161,658,387],{"emptyLinePlaceholder":386},[161,660,661],{"class":163,"line":431},[161,662,663],{"class":171},"# macOS\n",[161,665,666,669],{"class":163,"line":436},[161,667,668],{"class":167},"xcode-select",[161,670,671],{"class":187}," --install\n",[23,673,675],{"id":674},"_15-install-the-hexcore-cli","1.5 Install the Hexcore CLI",[152,677,679],{"className":154,"code":678,"language":156,"meta":157,"style":157},"npm install -g @vtechcom\u002Fhexcore\nhexcore --version\nhexcore doctor\n",[18,680,681,693,701],{"__ignoreMap":157},[161,682,683,685,687,690],{"class":163,"line":164},[161,684,538],{"class":167},[161,686,441],{"class":180},[161,688,689],{"class":187}," -g",[161,691,692],{"class":180}," @vtechcom\u002Fhexcore\n",[161,694,695,698],{"class":163,"line":175},[161,696,697],{"class":167},"hexcore",[161,699,700],{"class":187}," --version\n",[161,702,703,705],{"class":163,"line":253},[161,704,697],{"class":167},[161,706,707],{"class":180}," doctor\n",[14,709,710,712,713,484,715,718],{},[18,711,20],{}," checks Node.js, Docker, the image and chain access, and warns if the node API is exposed publicly, with a fix for each failure. Before first-time setup (",[18,714,697],{},[18,716,717],{},"hexcore init","), a missing Blockfrost key or cardano-node socket is normal.",[14,720,721,722,724,725,729,730,21],{},"Next: DApp developers run ",[18,723,697],{}," and continue with the ",[202,726,728],{"href":727},"02-developer-dapp","guide for DApp developers","; providers continue with the ",[202,731,733],{"href":732},"03-cai-tren-server","server install guide",[23,735,737],{"id":736},"_16-errors-installing-the-cli-node-gyp-python-3","1.6 Errors installing the CLI: node-gyp, Python 3",[14,739,740,741,744,745,748,749,752,753,756,757,759],{},"Success means ",[18,742,743],{},"npm install"," ends with ",[18,746,747],{},"added N packages"," and ",[18,750,751],{},"hexcore --version"," prints a version. If there is an ",[18,754,755],{},"npm error"," mentioning ",[18,758,130],{},", see the table below.",[28,761,762,775],{},[31,763,764],{},[34,765,766,769,772],{},[37,767,768],{},"Message",[37,770,771],{},"Cause",[37,773,774],{},"Fix",[44,776,777,804,821,844,878,903],{},[34,778,779,790,796],{},[49,780,781,97,784,97,787],{},[18,782,783],{},"gyp ERR! find Python",[18,785,786],{},"make: not found",[18,788,789],{},"g++: command not found",[49,791,792,793,795],{},"Missing Python 3, ",[18,794,587],{}," or a C++ compiler",[49,797,798,799,803],{},"Install the build tools (",[202,800,802],{"href":801},"#14-install-build-tools-to-guard-against-node-gyp-errors","§1.4","), then reinstall",[34,805,806,811,814],{},[49,807,808],{},[18,809,810],{},"prebuild-install warn … No prebuilt binaries found",[49,812,813],{},"No prebuilt binary",[49,815,816,817,820],{},"Only a warning. If compilation then fails: install build tools or use Node.js 24 LTS (",[18,818,819],{},"nvm install 24 && nvm use 24",")",[34,822,823,828,831],{},[49,824,825],{},[18,826,827],{},"ModuleNotFoundError: No module named 'distutils'",[49,829,830],{},"Old node-gyp with Python 3.12+",[49,832,833,836,837,840,841],{},[18,834,835],{},"npm i -g npm@latest","; if it persists: ",[18,838,839],{},"sudo apt-get install -y python3-setuptools"," (Debian\u002FUbuntu) or ",[18,842,843],{},"python3 -m pip install setuptools",[34,845,846,855,858],{},[49,847,848,851,852],{},[18,849,850],{},"EACCES: permission denied"," on ",[18,853,854],{},"npm install -g",[49,856,857],{},"No permission to write a system directory",[49,859,860,861,865,866,869,870,872,873,488,875],{},"Use nvm (",[202,862,864],{"href":863},"#13-install-nodejs-with-nvm-recommended","§1.3",") or change the npm prefix. Do ",[94,867,868],{},"not"," fix it with ",[18,871,351],{},". If you already ran npm with ",[18,874,85],{},[18,876,877],{},"sudo chown -R $(whoami) ~\u002F.npm",[34,879,880,890,893],{},[49,881,882,883,97,886,889],{},"Timeout, ",[18,884,885],{},"ECONNRESET",[18,887,888],{},"ETIMEDOUT"," downloading the prebuilt binary",[49,891,892],{},"Network blocks or is slow to GitHub",[49,894,895,896,97,899,902],{},"Set a proxy (",[18,897,898],{},"npm config set proxy http:\u002F\u002F\u003Cproxy>:\u003Cport>",[18,900,901],{},"npm config set https-proxy …",") and reinstall, or install build tools",[34,904,905,919,925],{},[49,906,907,756,910,484,913,916,917],{},[18,908,909],{},"gyp ERR!",[18,911,912],{},"cpu-features",[18,914,915],{},"sshcrypto",", but it still ends with ",[18,918,747],{},[49,920,921,924],{},[94,922,923],{},"Optional"," modules, npm ignores their failure",[49,926,927],{},"Nothing to do",[14,929,930,931,934],{},"After fixing, run ",[18,932,933],{},"npm install -g @vtechcom\u002Fhexcore"," again. To check the native module on its own:",[152,936,938],{"className":154,"code":937,"language":156,"meta":157,"style":157},"cd \"$(npm root -g)\u002F@vtechcom\u002Fhexcore\" && node -e \"require('better-sqlite3')(':memory:'); console.log('better-sqlite3 OK')\"\n",[18,939,940],{"__ignoreMap":157},[161,941,942,945,948,950,953,956,959,961,963,966],{"class":163,"line":164},[161,943,944],{"class":187},"cd",[161,946,947],{"class":180}," \"$(",[161,949,538],{"class":167},[161,951,952],{"class":180}," root ",[161,954,955],{"class":187},"-g",[161,957,958],{"class":180},")\u002F@vtechcom\u002Fhexcore\"",[161,960,611],{"class":266},[161,962,467],{"class":167},[161,964,965],{"class":187}," -e",[161,967,968],{"class":180}," \"require('better-sqlite3')(':memory:'); console.log('better-sqlite3 OK')\"\n",[23,970,972],{"id":971},"_17-change-the-nodejs-version","1.7 Change the Node.js version",[14,974,975],{},"The native module is tied to one Node.js version. After switching (for example 22 to 24), Hexcore may disappear from PATH, or report:",[152,977,981],{"className":978,"code":979,"language":980,"meta":157,"style":157},"language-unknown shiki shiki-themes github-light github-dark","was compiled against a different Node.js version using NODE_MODULE_VERSION 127.\nThis version of Node.js requires NODE_MODULE_VERSION 137.\n","unknown",[18,982,983,988],{"__ignoreMap":157},[161,984,985],{"class":163,"line":164},[161,986,987],{},"was compiled against a different Node.js version using NODE_MODULE_VERSION 127.\n",[161,989,990],{"class":163,"line":175},[161,991,992],{},"This version of Node.js requires NODE_MODULE_VERSION 137.\n",[14,994,995,996,998],{},"Reinstall Hexcore with the Node.js you now use, then reinstall the service (it hard-codes the ",[18,997,467],{}," path):",[152,1000,1002],{"className":154,"code":1001,"language":156,"meta":157,"style":157},"npm install -g @vtechcom\u002Fhexcore\nhexcore service install      # only if you run Hexcore as a service\n",[18,1003,1004,1014],{"__ignoreMap":157},[161,1005,1006,1008,1010,1012],{"class":163,"line":164},[161,1007,538],{"class":167},[161,1009,441],{"class":180},[161,1011,689],{"class":187},[161,1013,692],{"class":180},[161,1015,1016,1018,1021,1023],{"class":163,"line":175},[161,1017,697],{"class":167},[161,1019,1020],{"class":180}," service",[161,1022,441],{"class":180},[161,1024,1025],{"class":171},"      # only if you run Hexcore as a service\n",[23,1027,1029],{"id":1028},"_18-update-and-uninstall","1.8 Update and uninstall",[14,1031,1032],{},"Update a running Hexcore without dropping connections:",[152,1034,1036],{"className":154,"code":1035,"language":156,"meta":157,"style":157},"hexcore update            # to the latest version on npm\nhexcore update --check    # only check for a new version\nhexcore update --rollback # go back to the previous version\nhexcore status            # the version actually running\n",[18,1037,1038,1047,1059,1071],{"__ignoreMap":157},[161,1039,1040,1042,1044],{"class":163,"line":164},[161,1041,697],{"class":167},[161,1043,608],{"class":180},[161,1045,1046],{"class":171},"            # to the latest version on npm\n",[161,1048,1049,1051,1053,1056],{"class":163,"line":175},[161,1050,697],{"class":167},[161,1052,608],{"class":180},[161,1054,1055],{"class":187}," --check",[161,1057,1058],{"class":171},"    # only check for a new version\n",[161,1060,1061,1063,1065,1068],{"class":163,"line":253},[161,1062,697],{"class":167},[161,1064,608],{"class":180},[161,1066,1067],{"class":187}," --rollback",[161,1069,1070],{"class":171}," # go back to the previous version\n",[161,1072,1073,1075,1078],{"class":163,"line":390},[161,1074,697],{"class":167},[161,1076,1077],{"class":180}," status",[161,1079,1080],{"class":171},"            # the version actually running\n",[14,1082,1083,1084,1086,1087,1089,1090,1092,1093,484,1096,1099,1100,1103,1104,499],{},"The ",[18,1085,697],{}," command in PATH stays the ",[18,1088,341],{}," version, so after an update ",[18,1091,751],{}," may print the old one: use ",[18,1094,1095],{},"hexcore status",[94,1097,1098],{},"Settings",". To bring the CLI up to date: ",[18,1101,1102],{},"npm i -g @vtechcom\u002Fhexcore@\u003Cversion>"," (",[202,1105,1108],{"href":1106,"rel":1107},"https:\u002F\u002Fgithub.com\u002FVtechcom\u002Fhexcore-v2\u002Fissues\u002F37",[206],"#37",[14,1110,1111],{},"Uninstall:",[1113,1114,1115,1118,1127,1132],"ol",{},[303,1116,1117],{},"Stop the heads in the UI (removing Hexcore does not stop hydra-node containers).",[303,1119,1120,1123,1124,21],{},[18,1121,1122],{},"hexcore service uninstall"," if you have a service; otherwise ",[18,1125,1126],{},"hexcore stop",[303,1128,1129,21],{},[18,1130,1131],{},"npm uninstall -g @vtechcom\u002Fhexcore",[303,1133,1134,1137],{},[18,1135,1136],{},"~\u002F.hexcore"," remains, with every node's keys. Back it up before deleting.",[1139,1140,1141],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}",{"title":157,"searchDepth":175,"depth":175,"links":1143},[1144,1145,1149,1152,1153,1154,1155,1156],{"id":25,"depth":175,"text":26},{"id":191,"depth":175,"text":192,"children":1146},[1147,1148],{"id":196,"depth":253,"text":197},{"id":321,"depth":253,"text":322},{"id":334,"depth":175,"text":335,"children":1150},[1151],{"id":502,"depth":253,"text":503},{"id":573,"depth":175,"text":574},{"id":674,"depth":175,"text":675},{"id":736,"depth":175,"text":737},{"id":971,"depth":175,"text":972},{"id":1028,"depth":175,"text":1029},"Order: Docker → Node.js (nvm) → build tools → Hexcore CLI → hexcore doctor.","md",{},"\u002Fdocs\u002F01-chuan-bi-may",{"title":5,"description":1157},"docs\u002F01-chuan-bi-may","YfDnTgYSdhFAgJh_29uckYJ7KRG01YI0clJv9750zgQ",[1165,1166,1169,1172,1175,1178],{"path":1160,"title":5},{"path":1167,"title":1168},"\u002Fdocs\u002F02-developer-dapp","2. Guide for DApp developers",{"path":1170,"title":1171},"\u002Fdocs\u002F03-cai-tren-server","3. Install Hexcore on a server (Ubuntu, Debian, RHEL family)",{"path":1173,"title":1174},"\u002Fdocs\u002F04-provider-trust-center","4. Guide for providers joining Hydra Trust Center",{"path":1176,"title":1177},"\u002Fdocs\u002F05-xu-ly-su-co","5. Troubleshooting",{"path":1179,"title":1180},"\u002Fdocs\u002Freadme","Hexcore v2 user guide",1795426328407]