1. 前往官方網站下載neo4j的社區版壓縮包。shell
2. 解壓下載下來的壓縮包。bash
3. 導航到你的解壓文件夾下的bin目錄,嘗試啓動neo4j,會報沒有服務的錯誤,以下:測試
C:\Users\..\Desktop\neo4j-community-3.4.9\bin>neo4j start Service start failed - service 'neo4j' not found
4. 安裝neo4j服務:網站
C:\Users\..\Desktop\neo4j-community-3.4.9\bin>neo4j.bat install-service Neo4j service installed
5. 啓動neo4jcode
C:\Users\Ley\Desktop\neo4j-community-3.4.9\bin>neo4j.bat start Neo4j service started
6. 用Cypher鏈接neo4j,默認用戶名和密碼都是爲neo4jget
C:\Users\..\Desktop\neo4j-community-3.4.9\bin>cypher-shell.bat username: neo4j password: ***** Connected to Neo4j 3.4.9 at bolt://localhost:7687 as user neo4j. Type :help for a list of available commands or :exit to exit the shell. Note that Cypher queries must end with a semicolon. neo4j>
7. 退出neo4jit
neo4j> :exit Bye!
至此,window版的neo4j安裝測試完成。建議將neo4j的目錄加入系統環境變量中,方便使用。社區