installing-julia
Use when your machine does not have JuliaLang runtime
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- installing-julia
- description
- Use when your machine does not have JuliaLang runtime
03 SKILL.md 正文
Installing Julia
If your machine does not have the Julia programming language runtime installed, follow the instructions below to install it.
Preferred: official installer
On macOS or Linux, run the following command:
$ curl -fsSL https://install.julialang.org | sh -s -- --yes
On Windows, run the following command in PowerShell:
PS> winget install --name Julia --id 9NJNWW8PVKMN -e -s msstore
Fallback: direct tarball install
Use this method when the curl | sh installer cannot run — for example, when a
sandbox or permission policy blocks piping a remote script directly into sh
(the "Code from External" pattern). This downloads the same official Julia
binary the installer would fetch, but as a plain file you extract locally
— no shell-pipe-to-interpreter.
Steps (macOS / Linux)
-
Detect platform with
uname -s(Linux / Darwin) anduname -m(x86_64 / aarch64 / arm64). -
Pick the URL fragment matching your platform:
OS / Arch URL path Tarball suffix Linux x86_64 linux/x64linux-x86_64.tar.gzLinux aarch64 linux/aarch64linux-aarch64.tar.gzmacOS x86_64 (Intel) mac/x64mac-x86_64.tar.gzmacOS aarch64 (Apple) mac/aarch64macaarch64.tar.gz -
Resolve the latest stable patch (see [[finding-latest-julia-version]] for the full set of methods — do not hard-code
VERSION=from memory), then download and extract:VERSION=$(curl -fsSL https://julialang-s3.julialang.org/bin/versions.json \ | jq -r 'to_entries | map(select(.value.stable)) | map(.key) | sort_by(split(".") | map(tonumber? // 0)) | last') MINOR=${VERSION%.*} # → e.g. 1.12 ARCH_PATH=linux/aarch64 # ← from table above ARCH_SUFFIX=linux-aarch64 # ← from table above mkdir -p ~/julia-install && cd ~/julia-install curl -fsSLO "https://julialang-s3.julialang.org/bin/${ARCH_PATH}/${MINOR}/julia-${VERSION}-${ARCH_SUFFIX}.tar.gz" tar -xzf "julia-${VERSION}-${ARCH_SUFFIX}.tar.gz" export PATH="$HOME/julia-install/julia-${VERSION}/bin:$PATH" julia --version -
To persist
PATHacross sessions, append theexport PATH=...line to~/.bashrc,~/.zshrc, or the appropriate shell profile.
Windows fallback
If winget is unavailable, download the .zip package from
https://julialang.org/downloads/, extract it, and add the inner bin\ directory to PATH.
Notes
- The tarball is the same artifact the official installer /
juliaupwould fetch — only the delivery mechanism differs. - Version switching via
juliaup add <version>is NOT available with this method; install another tarball to use a different version. - In container or CI environments where
PATHis set per-command, referencejuliaby full path ($HOME/julia-install/julia-<VERSION>/bin/julia) instead of relying on shell profile.
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.