Explore Enterprise Education Gitee Premium Gitee AI AI teammates
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
1 Star 0 Fork 0

gitstr/codegraph

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
Already have an account? Sign in
文件
main
Branches (25)
Tags (12)
main
architectural-improvements
ci/bump-actions-node24
feat/node-sqlite-bundle
lua
feat/explore-first-guidance
feat/explore-line-numbers
chore/release-notes-refinements
chore/release-notes-unwrap
fix/module-qualified-lookup-173
fix/windows-mojibake-168
fix/mcp-initialize-blocking
fix/opencode-installer-jsonc-agents-md
docs/readme-reorder-and-scala
docs/readme-initialize-projects
docs/readme-vue
feat/mcp-server-instructions
perf/drop-narrow-edge-indexes
colbymchenry-patch-1
feat/always-enable-embeddings
v0.9.4
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.0
v0.7.12
v0.7.10
v0.7.8
v0.7.9
v0.7.7
v0.7.6
main
Branches (25)
Tags (12)
main
architectural-improvements
ci/bump-actions-node24
feat/node-sqlite-bundle
lua
feat/explore-first-guidance
feat/explore-line-numbers
chore/release-notes-refinements
chore/release-notes-unwrap
fix/module-qualified-lookup-173
fix/windows-mojibake-168
fix/mcp-initialize-blocking
fix/opencode-installer-jsonc-agents-md
docs/readme-reorder-and-scala
docs/readme-initialize-projects
docs/readme-vue
feat/mcp-server-instructions
perf/drop-narrow-edge-indexes
colbymchenry-patch-1
feat/always-enable-embeddings
v0.9.4
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.0
v0.7.12
v0.7.10
v0.7.8
v0.7.9
v0.7.7
v0.7.6
Clone or Download
Clone/Download
Prompt
To download the code, please copy the following command and execute it in the terminal
To ensure that your submitted code identity is correctly recognized by Gitee, please execute the following command.
When using the SSH protocol for the first time to clone or push code, follow the prompts below to complete the SSH configuration.
1 Generate RSA keys.
2 Obtain the content of the RSA public key and configure it in SSH Public Keys
To use SVN on Gitee, please visit the usage guide
When using the HTTPS protocol, the command line will prompt for account and password verification as follows. For security reasons, Gitee recommends configure and use personal access tokens instead of login passwords for cloning, pushing, and other operations.
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # Private Token
main
Branches (25)
Tags (12)
main
architectural-improvements
ci/bump-actions-node24
feat/node-sqlite-bundle
lua
feat/explore-first-guidance
feat/explore-line-numbers
chore/release-notes-refinements
chore/release-notes-unwrap
fix/module-qualified-lookup-173
fix/windows-mojibake-168
fix/mcp-initialize-blocking
fix/opencode-installer-jsonc-agents-md
docs/readme-reorder-and-scala
docs/readme-initialize-projects
docs/readme-vue
feat/mcp-server-instructions
perf/drop-narrow-edge-indexes
colbymchenry-patch-1
feat/always-enable-embeddings
v0.9.4
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.0
v0.7.12
v0.7.10
v0.7.8
v0.7.9
v0.7.7
v0.7.6
codegraph
/
install.ps1
codegraph
/
install.ps1
install.ps1 2.57 KB
Copy Edit Raw Blame History
# CodeGraph standalone installer for Windows (PowerShell).
#
# Downloads a self-contained bundle (a vendored Node runtime + the app) from
# GitHub Releases. No Node.js, no build tools required.
#
# irm https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.ps1 | iex
#
# Re-run to upgrade. To uninstall: remove $env:LOCALAPPDATA\codegraph and drop
# its \current\bin entry from your user PATH.
#
# Environment:
# CODEGRAPH_VERSION release tag to install (default: latest)
# CODEGRAPH_INSTALL_DIR install location (default: %LOCALAPPDATA%\codegraph)
$ErrorActionPreference='Stop'
$repo='colbymchenry/codegraph'
$installDir=if($env:CODEGRAPH_INSTALL_DIR){$env:CODEGRAPH_INSTALL_DIR}else{Join-Path$env:LOCALAPPDATA'codegraph'}
# 1. Detect architecture -> target matching the release archives.
$arch=if([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture-eq'Arm64'){'arm64'}else{'x64'}
$target="win32-$arch"
# 2. Resolve the version (latest release unless pinned).
$version=$env:CODEGRAPH_VERSION
if(-not$version){
$version=(Invoke-RestMethod"https://api.github.com/repos/$repo/releases/latest").tag_name
}
if(-not$version){throw"codegraph: could not resolve latest version; set CODEGRAPH_VERSION."}
# 3. Download + extract the bundle into a stable 'current' dir (overwritten on upgrade).
$url="https://github.com/$repo/releases/download/$version/codegraph-$target.zip"
Write-Host"Installing CodeGraph $version ($target)..."
$tmp=Join-Path$env:TEMP("cg-"+[guid]::NewGuid().ToString())
New-Item-ItemTypeDirectory-Force-Path$tmp|Out-Null
$zip=Join-Path$tmp'cg.zip'
Invoke-WebRequest-Uri$url-OutFile$zip
$dest=Join-Path$installDir'current'
if(Test-Path$dest){Remove-Item-Recurse-Force$dest}
New-Item-ItemTypeDirectory-Force-Path$dest|Out-Null
Expand-Archive-Path$zip-DestinationPath$dest-Force
# Archives contain a top-level codegraph-<target>\ dir; flatten it.
$inner=Join-Path$dest"codegraph-$target"
if(Test-Path$inner){
Get-ChildItem-Force$inner|Move-Item-Destination$dest-Force
Remove-Item-Recurse-Force$inner
}
Remove-Item-Recurse-Force$tmp
# 4. Put the launcher dir on the user's PATH.
$binDir=Join-Path$dest'bin'
$userPath=[Environment]::GetEnvironmentVariable('Path','User')
if(($userPath-split';')-notcontains$binDir){
[Environment]::SetEnvironmentVariable('Path',"$binDir;$userPath",'User')
Write-Host"Added $binDir to your PATH (restart your terminal to pick it up)."
}
Write-Host"Installed to $dest"
Write-Host"Run: codegraph --help"
Loading...
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Please select a report type
Cancel
Send
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

About

Cancel

Releases

No release

Contributors

All

Activities

can not load any more
Edit
About
Homepage
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gitstr/codegraph.git
git@gitee.com:gitstr/codegraph.git
gitstr
codegraph
codegraph
main
Going to Help Center

Search

Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register

AltStyle によって変換されたページ (->オリジナル) /